Forum Discussion

swati1's avatar
Occasional Contributor
5 years ago

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

<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>

2 Replies

  • JHunt's avatar
    Community Hero

    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.

  • 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.