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
-1
votes
2 answers

400 the request sent by the client was syntactically incorrect

I have gone through so many examples of this nature and proposed solutions from this site, but none of the solutions provided thereon apply to my problem. I believe that this error message, 400, shows up when the information sent to the controller…
-1
votes
1 answer

Getting error while creating issue with JIRA REST API

I'm trying to create an issue using the JIRA API, I am trying to POST this using curl: curl -D- -u username:password -X POST --data filename.txt -H "Content-Type: application/json" https:///rest/api/2/issue/ with this data in…
-1
votes
1 answer

Paypal REST API - Sending GET Headers in RedirectUrls()

I'm trying to send the price someone paid for an item in my App over to my redirect URL after the Paypal payment is complete. //Redirect $redirectUrls = new RedirectUrls(); $redirectUrls->setReturnUrl(SITE_URL .…
wUmpage
  • 165
  • 2
  • 17
-1
votes
2 answers

Httpcomponents httpcore and httpclient HTTP_status 400

I am trying to do: Send request from HttpClient (based on HttpComponents HttpClient 4.5). Receive that request in HttpServer (based on HttpComponents HttpCore 4.4.1). HttpServer must answer to HttpClient with different HttpStatus codes and string…
-2
votes
1 answer

HTTPDriver for http://clickhouse.prod.do. returned response code 400. Tried to run this code, but had the error

import numpy as np import pandas as pd import datetime as dt import gspread import clickhouse_connect from oauth2client.service_account import ServiceAccountCredentials client = clickhouse_connect.get_client( …
-2
votes
1 answer

Why DELETE method doesn't work in FastAPI?

I want to pass 2 parameters into the handler, to validate it and to proceed work. There are two parameters: id of string type and the date of the DateTime in ISO8601 format. FastAPI always returns 400 error instead of at least return simply…
-2
votes
1 answer

400 error trying to loadGeoJson in Angular Google Maps project

I am getting a 400 error when trying to loadGeoJson into my map. The file is located in my src/assets folder. If I put a different file in that folder, I can access it with a http request when I start the ng server, so that means I should have…
-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
2 answers

What is the concern about bad request(400) or forbidden(403)?

I am implementing an endpoint which offer some secret data and I want to make a simple verify mechanism. Which status should I response when user does not have the correct crediential? 400? 403? Or something else? thanks.
fung
  • 641
  • 6
  • 14
-2
votes
1 answer

400 Bad Request Invalid Verb SharePoint Rest Api Java

I am trying to post a request to SharePoint REST interface. I am trying to update a column value. I am able to successfully do this when I post using Fiddler (Response: 204) . When I send using Apache HttpClient I get 400 Bad Request - Invalid…
Puneet
  • 117
  • 11
-2
votes
1 answer

error 400 - bad request when trying to set q search parameter in Soundcloud with Scrapy item

Im trying to search soundcloud for a track related to an artists name. It works perfectly if i just type an artist name in the q search parameter, however i want it to use an item ['artist'] variable. I think theres prbably a simple programming…
1 2 3
53
54