bad-request Questions

4

Solved

I just manually implemented a facebook oauth2 flow into my webapp. After receiving the correct access_token and trying to call the graph api for user data I got a 400 BAD REQUEST as response. GET...
Desolate asked 4/9, 2014 at 9:59

2

Solved

I am trying to create issue using Jira REST API including component. I am posting this JSON but I get The remote server returned an error: (400) Bad Request. Issue is:- Without component there is n...

8

Solved

I am trying to achieve send of mail via SendGrid API. Following is the JSON I am sending as a body of the POST Method { "content" : [ { "type" : "text\/plain", "value" : "Hello, World!" } ]...
Faeroese asked 28/10, 2016 at 11:16

4

Solved

I am trying to request access and refresh tokens from Google using oauth2, all I am getting is a "HTTP/1.1 400 Bad Request" error. I am using IdHTTP in Delphi XE5 with the IdSSLIOHandlerSocketOpen...
Charlettecharley asked 14/12, 2015 at 16:14

8

I have created a simple flask app that and I'm reading the response from python as: response = requests.post(url,data=json.dumps(data), headers=headers ) data = json.loads(response.text) Now my i...
Dihybrid asked 26/8, 2019 at 21:13

4

Solved

I am testing logging in POST method in cypress with incorrect credentials. this returns 400 bad requests which I need to test. This is what I have: describe('Login API Test - Correct user login', (...
Eb asked 2/7, 2019 at 13:41

1

Solved

I've used the "Populate a team vacation calendar" sample at https://developers.google.com/apps-script/samples/automations/vacation-calendar to build an Apps Script to pull all Out Of Offi...

6

I am trying to post comments using axios. When I submit my datas entered in the form, I see this error in the console : AxiosError {message: 'Request failed with status code 400', name: 'AxiosError...
Smackdab asked 19/5, 2022 at 15:37

4

We have tomcat 9 web server in production. The problem we are facing is we want to show the custom error page for our application if tomcat receives any malformed URL as follows http://URL/| or ...
Weatherboarding asked 15/10, 2018 at 10:24

4

Solved

I've finish my first app in Django and works perfectly, but still have pre-deployment problems since I set DEGUG=False ... Here is just to display an image in a template... T_T I was using this, b...
Starlet asked 15/5, 2016 at 18:9

7

Solved

I was wondering if it was possible to return a bad request with content from an MVC Controller? The only way I have been able to do this is to throw HttpException however here I can't set any conte...
Diann asked 8/7, 2015 at 8:17

2

Solved

Is there a way I can add a message to a BadRequest action result, and for that message to be visible to external clients, such as Postman? I am using ASP.NET Core 3.1. Part of my code is included ...

2

I'm trying to find out if a specific User is present in a supergroup, in order to keep track of those who left. For that, I'm calling the Bot API method getChatMember for each User and checking i...
Lubric asked 20/4, 2018 at 5:14

5

In a Spring rest application, every single URL must start with an application id (appId). This appId must be validated in every single rest service. Instead of duplicating code, I tried to create a...
Optimistic asked 26/6, 2015 at 14:19

0

Could you please give me an advice, what is the proper way to return HttpStatus.BAD_REQUEST from webflux handler? Here's the code, it seems to work properly, exception message returns as needed, bu...
Calcareous asked 28/10, 2020 at 17:55

2

Solved

I have a controller in my ASP.NET Core 3.1 app that returns BadRequest() in one of the cases. By default it produces the json response: { "type": "https://tools.ietf.org/html/rfc723...
Brickle asked 7/8, 2020 at 11:54

3

Solved

I get an inconsistent behaviour when asp.net core api validates objects and when I manually add model errors and invoke BadRequest(ModelState) As an example, I have these 2 endpoints in my control...
Nitrite asked 21/3, 2019 at 21:37

2

In my environment, I use perlbal to redirect request to nginx. If verify_backend is on. perbal will send a "OPTIONS *" request to nginx, but the nginx response it as a bad request. According to R...
Joab asked 18/2, 2013 at 4:9

0

I've been getting some weird http requests on my AWS server. I run a python3/flask v0.12 web server on it. Does anyone know if I should be worried about the requests below? Is there anyway to a...
Walkway asked 19/3, 2018 at 17:43

2

Solved

I'm looking essentially for the same thing asked here: Any way to access response body using WebClient when the server returns an error? But no answers have been provided so far. The server retu...
Myrlmyrle asked 11/3, 2013 at 18:56

0

How should i solve this error on Real NGINX Server? When i was developing on local there was no error show with that. And it's only happen on Mobile and Tablet. Not happened on PC Browser. I search...
Actuate asked 6/11, 2017 at 5:2

3

Solved

long story short: I'm creating API that is supposed to be 100% REST. I'm trying to overwrite default response for the following case: I've got a method in my @RestController that has @RequestBody a...
Orelie asked 1/9, 2017 at 10:2

2

Solved

I've written a REST API service that requires that all responses be JSON. However, when the Go HTTP request parser encounters an error, it returns 400 as a plain text response without ever calling ...
Hyson asked 21/8, 2017 at 17:11

2

I'm creating a DataAnnotation that if not successful will return a BadRequest. context.Result = new BadRequestResult(); That works fine. I want to include a message along with this, but BadRequ...
Manual asked 3/7, 2017 at 13:54

1

I want to POST a mutation that updates field "name" which is JSONString. When I do that, I got a response - 400 BAD REQUEST, but when I try other mutation (with the field type of String) it goes sm...
Antimacassar asked 27/6, 2017 at 7:37

© 2022 - 2025 — McMap. All rights reserved.