Questions tagged [400-bad-request]

39 questions
0
votes
0 answers

Bad Request: One or more of the contents is not owned by the author. All contents must be owned by the author

I've been trying to POST an image to linkedin via the API given by linkedin: https://api.linkedin.com/v2/ugcPosts Here are some of the steps I followed according to their documentation: Step 1: Register the image, Response I get: { "value": { …
0
votes
0 answers

400 bad request in "POST" request in django react

I have react component in were Im posting data in djnago back end, but it always gives me 400 bad request as response and in backend console too. import axios from 'axios' import React, { useEffect, useState } from 'react' import { Button } from…
0
votes
1 answer

AWS CloudFront returning bad request from Spring WebClient but working from Postman

I've an API that is up and running in AWS CloudFront. When I test the API from Postman, it seems to be working fine. Here's the request from Postman console. But when invoking the same API from spring's WebClient, it is returning 400 bad request…
Drunken Daddy
  • 7,326
  • 14
  • 70
  • 104
0
votes
0 answers

nginix - Bad request when %20 is in url

Getting Bad request '"GET / HTTP/1.1" 400 173 "-" "-"' in nginx access log. This happens when I include a space (%20) in url: curl https:///Calzone/Alfredo%20Deluxe (This request is routed by nginx) Without nginx it returns the proper response. My…
giwyni
  • 2,928
  • 1
  • 19
  • 11
-1
votes
0 answers

Strange behavior of .Net Framework 4.8 and 6.0

I run the following code in both .net 6.0 and 4.8: try { var postData = new List { orderData }; var json = JsonSerializer.Serialize(postData); StringContent stringcontent = new StringContent(json,…
Majid Majed
  • 326
  • 2
  • 12
-1
votes
0 answers

400 Bad Request in Load Balancer IP

I have now facing this issue. There is no error when I running the web server with Apache. Now we change the apche to nginx.When I access the load balancer ip ,error like 400 bad request.Web Server can access(No error).We use F5 Load Balancer do not…
-1
votes
1 answer

Bad request instead of message

i hava a problem that i am unble to figure whats i am doing wrong. So basically backend sends the error message but somehow browser is overwrites the message with Bad request. Screen shoot of message that browser retuens me. This is the response…
1 2
3