Questions tagged [bad-request]

HTTP status code 400, implying the request was not understood by the server and should not be redone without modifications.

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…
-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…
-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…
-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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/http" class="post-tag grid--cell" title="show questions tagged 'http'" rel="tag">http</a> <a href="../../questions/tagged/go" class="post-tag grid--cell" title="show questions tagged 'go'" rel="tag">go</a> <a href="../../questions/tagged/get" class="post-tag grid--cell" title="show questions tagged 'get'" rel="tag">get</a> <a href="../../questions/tagged/bad-request" class="post-tag grid--cell" title="show questions tagged 'bad-request'" rel="tag">bad-request</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 18 '18 at 11:14">asked Feb 18 '18 at 11:14</time> <a href="../../users/1954034/nikhil-joshi" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1954034.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Nikhil Joshi" /> </a> <div class="s-user-card--info"> <a href="../../users/1954034/nikhil-joshi" class="s-user-card--link">Nikhil Joshi</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">817</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="12 silver badges">12</li> <li class="s-award-bling s-award-bling__bronze" title="34 bronze badges">34</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/bad-request_page=42" rel="prev" title="Go to page 42">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/bad-request_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/bad-request_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/bad-request_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/bad-request_page=42" rel="" title="Go to page 42">42</a> <div class="s-pagination--item is-selected">43</div> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>