Questions tagged [http-status-code-400]

400 Bad Request. Add this tag to a question if your requests receive this answer.

The request could not be understood by the server due to malformed syntax. The client should not repeat the request without modifications.

See also RFC2616.

806 questions
2
votes
1 answer

Web API + OData - PATCH request 400 error

I have a KendoUI DataSource linked up to a WebApi 2 OData controller and am having problems with update operations. I can create and delete just fine. When I make the call to sync the datasource to the server after making any updates I get a 400…
2
votes
1 answer

PHP cUrl : HTTP Error 400 while The Browser Displayed Correctly

URL: You can see the url in Here (I put the url in the pastebin because the url is quite long). Curl & Header : $header=array(); $header[]="Accept:…
bagz_man
  • 555
  • 2
  • 8
  • 20
2
votes
1 answer

TransportError: HTTP Error 400: Bad Request While Using SUDS (Python)

I'm getting this error while trying to access a WS using SUDS in Python. Any idea of what am I doing wrong? (Yes, I'm quite new to Python) Python Code # -*- coding: utf-8 -*- from suds.client import Client from apscheduler.scheduler import…
Oliver Drummond
  • 680
  • 1
  • 6
  • 19
2
votes
0 answers

{"code": 400, "error_type": "OAuthException", "error_message": "No matching code found."}

When I try to get my API access token I get the following message: {"code": 400, "error_type": "OAuthException", "error_message": "No matching code found."} Am I doing something wrong? (I've found some other people with the same issue, but no…
Ruben
  • 21
  • 3
2
votes
1 answer

400 Bad Request - facebook page tab

I created app in facebook by this tutorial: https://developers.facebook.com/docs/appsonfacebook/pagetabs/ It's only page tab, so the page is loaded by iFrame, but facebook return this error: "400 Bad Request Your browser sent a request that this…
2
votes
1 answer

Jetty returning "HTTP/1.1 400 Bad Request" on malformed HTTP POST header. Is this expected?

does having a space in the http post headers result in BAD request?? I see this in one of the requests: Content-Type "text/xml; c harset=utf-8" and I get a HTTP/1.1 400 Bad Request But if the same request is posted with Content-Type "text/xml;…
Ikshvak
  • 205
  • 2
  • 8
  • 17
2
votes
0 answers

How to resolve Http 400 bad request Error in IIS 7?

We have migrated the our websites from one server to another server. all completed successfully but one website has issue of HTTP 400 bad request. I have googled alot but none of the solution works for me then I found this article which told me to…
Ram Singh
  • 6,664
  • 35
  • 100
  • 166
2
votes
2 answers

Streaming WCF - 400 Bad Request

I have been circling around setting up a Streaming service for the last couple days and everytime I come back to the task I keep hitting the same wall of 400 Bad Request. I have searched a number of posts here and out on the web and it seems like…
2
votes
0 answers

Http 400's to mid tier when server is under stress

I'm working on a project where we have an asp.net website which makes asmx web service calls to a mid tier. The timeout to the mid tier is 5s. One thing that we've noticed is that occasionally, at peak traffic times, we get http 400's when calling…
2
votes
3 answers

data = [NSData dataWithContentsOfURL:theUrl];

What will happen to the data object if 4xx or 5xx error take place? Does the program crash? does the data object get any kind of data (response error or corrupted data)? or the data object will be equal to nil?
hasan
  • 23,815
  • 10
  • 63
  • 101
2
votes
1 answer

400 Bad Request in Curl

For several days, I have been trying to post to a server. But I get a bad request error which is: HTTP/1.1 400 Bad Request Server: cloudflare-nginx Date: Sat, 13 Oct 2012 14:25:32 GMT Content-Type: text/html Content-Length: 522 Connection:…
unbalanced
  • 1,192
  • 5
  • 19
  • 44
2
votes
3 answers

Android POST Request 400 Response code throws Exception

When i send a POST Request to a Server, if the response is 200 i get the JSON body. However for unsuccessful requests the servers send a 400 response code but my android code throws a FileNotFoundException. Is there any difference between reading a…
AndroidDev
  • 15,993
  • 29
  • 85
  • 119
2
votes
1 answer

java - 400 when posting JSONObject to Restful Web Service

I am trying to implement post functionality to my restful web service. However, whenever I try to post data using my post client, the server always returns a 400 Bad Request Exception. Below is my post client: public static HttpResponse post(String…
ashwin153
  • 364
  • 2
  • 13
2
votes
1 answer

IE9 jquery ajax post request randomly causing bad request (400), tomcat receives post parameters as 'null'

We have production application where we randomly seeing Bad request response (status code = 400) in apache access logs. Happens only for IE9 users - (Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0). We have tried to…
2
votes
1 answer

YouTube ASP.NET API: Upload Request Returns 400, Keywords Text "Too Long"

Attempting to upload a video, and this is the response I get back (after several minutes, no less): yt:validation too_long
AJH
  • 365
  • 1
  • 4
  • 18