cancel
Showing results for 
Search instead for 
Did you mean: 

Getting bad request error

Occasional Contributor

Getting bad request error

I am getting this below error , Kindly provide any solution.

 

HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Wed, 14 Aug 2019 09:42:00 GMT
Connection: close
Content-Length: 311

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request</h2>
<hr><p>HTTP Error 400. The request is badly formed.</p>
</BODY></HTML>

2 REPLIES 2
Community Hero

Re: Getting bad request error

The server didn't receive what it was expecting from you for this type of request.

 

Check the spec to see if you included all the mandatory fields, headers, authentication data. And check if you have a syntax error, e.g. in your XML/JSON.

Highlighted
Super Contributor

Re: Getting bad request error

Hi @swati1 ,

 

This error occurs when the request body is invalid or when something is missing from the Request headers, for correcting it refer the document if it a 3rd party API or if it is internal then took a help from developer.

 

 


Click "Accept as Solution" if my answer has helped, and remember to give "kudos" Smiley Happy

Thanks and Regards,
Himanshu Tayal
New Here?
Join us and watch the welcome video:
Top Kudoed Authors