HTTP status code 400, implying the request was not understood by the server and should not be redone without modifications.
Questions tagged [bad-request]
641 questions
-1
votes
2 answers
Backbone.js - delete bad request 400 (bad request)
I'm using rails 4 and backbone in my app. I created delete method with Backbone, but when I try to delete using it, I get this error:
DELETE http://localhost:3000/[object%20Object] 400 (Bad Request)
My delete method:
deleteBook: (ev) ->
…

Andrius
- 19,658
- 37
- 143
- 243
-1
votes
3 answers
how to get Google plus access token in windows application C#.net
I am preparing a windows application in that I want to use oAuth2 to access info from google plus.
But I am getting bad request for my following code.. I am able to create app in google console and fetch the "code" for application access.…

butanijayanti
- 309
- 1
- 4
- 8
-1
votes
1 answer
Bad request when running ASP.NET 2.0 application
I am developing website in ASP.NET 2.0. I am running a page. In button click event I deal with data readers (first it gives me different error). So I debug it, and when I debug my 2 datareaders, then it gives me the error HTTP 400 bad request. I…

Rohii
- 1
-1
votes
1 answer
400 bad request but cant find the issue
I am having a real difficult time figuring out why I am getting a 400 bad request from my POST method on my client side. My other POST methods work fine for this service and client. Yet this one isnt working? I was hoping a fresh pair of eyes might…

Kirsty White
- 1,210
- 3
- 26
- 54
-2
votes
1 answer
Yii2: How to allow Guzzle POST requests in a controller
I’m trying to make a POST request via Guzzle to a Yii controller but getting a "Bad Request #400". I thought when I don’t use behaviours() the controller is automatically accessible to all kinds of requests, but nope. How I can solve this? What…

NicOwen
- 171
- 1
- 3
- 8
-2
votes
2 answers
createError.js:16 Uncaught (in promise) Error: Request failed with status code 400 in react
iam getting bad request when registering the user and sending the info to the database
iam using axios.post(apiurl.{username: user.username, password: user.password, email :user.email }
and storing this code in registeruser function
and then calling…

Khalid Hassan
- 1
- 1
-2
votes
1 answer
Why I get a Error 400 bad request only with datetime
I get a 400 bad request error when the URL send a date time as a parameter expected:
xxx/api/v2/client/64/groups/2019-01-27T07:07:00
but if only send a date it works:
xxx/api/v2/client/64/groups/2019-01-27
I have tested it on my local envirment and…

Juan Viglio
- 11
- 2
-2
votes
1 answer
Throwing Bad request 400 instead of Internal server error 500
Let's say there is a url accepting an integer parameter named "param".
@Path("/foo/")
public Response getFoo(@QueryParam("param") Integer param)
{ ...... }
If I make a call like this -> /foo/?param=aa (using string value instead of integer), it…

Neeraj Gupta
- 765
- 1
- 10
- 18
-2
votes
1 answer
CAKE PHP v2 - Access Denied - 400 Bad Request, our browser sent a request that this server could not understand
I was called to give maintenance on a project in cake php.
The customer had the project running perfectly on his hosting, and accidentally deleted the entire contents, then I was called to redo the deploy into a new hosting.
I did the standard…

Douglas Diniz Landim
- 11
- 2
-3
votes
0 answers
Why doesn't StackOverflow have a logout button?
I've searched everywhere. I've found it in the past, but it eludes me once again.
I tried looking in my profile, in the footer, in the settings, and even in the help docs. This is insane.
It's asking for more characters, so I'll add a gripe…

Effe_BW
- 1
- 1
-3
votes
1 answer
GoLang HTTP GET - 400 Bad Request
I am making HTTP GET call using below GoLang code:
client := &http.Client{}
req, _ := http.NewRequest("GET", getUrl, nil)
//req.Header.Set("Accept-Encoding", "br")
response, _ := client.Do(req)
Receiving error response:
400…

Nikhil Joshi
- 817
- 2
- 12
- 34