Skip to main content

I’m following this API documentation to authenticate and can successfully do so in Postman.  However, with the HTTPCaller it keeps returning a 400 error:

    "error": {
        "code": "no_grant_type_provided",
        "message": "Bad Request",
        "status": 400
    },

I feel like I’m close but can’t crack this nut...what am I doing wrong??

 

Postman:

Postman

 

HTTPCaller:

HTTPCaller

 

Not sure if this causes any issues, but the way you do send the Content-Type header is duplicate. You can either use the header row or the Content Type field. What happens if you leave the Content Type field empty?

Did you validated the json using something like NotePad++?


Bingo - I removed the “Content-Type” header and tried again and low and behold it worked...thank you!  I’ll start gluing my hair back on now….


Bingo - I removed the “Content-Type” header and tried again and low and behold it worked...thank you!  I’ll start gluing my hair back on now….

:) this stuff can be a bit frustrating yes, but happy it works now :)

Another important tool is PostMan Echo, where you can send requests to so you are able to see what you actually are sending.


Reply