Getting error 400 on the entries endpoint

VisamaVisama Member

I'm trying to make a call in Postman before trying it out in the app I'm doing in Flutter, but for some reason it won't work. I copied a couple times the app id and app key that I have with my account, but I don't know what else do I have to do.

Comments

  • TaisFukushimaTaisFukushima Member, Administrator, Moderator admin

    Hello @Visama

    Are you including the "Host" header in your request? If you don't include this, then you get a 400 Error.
    In Postman, the "Host" header can be auto-generated – see https://learning.postman.com/docs/sending-requests/requests/#auto-generated-headers.

    In Postman, you can see all the request headers are by clicking the "6 hidden" option at the top of the list of headers.
    Ensure that the Host header is included. If it is included and the problem still occurs, please send us 2 screenshots for the Postman window:
    Both should show all headers (none hidden), with one showing the Body of the response and the other showing the Headers of the response.

Sign In or Register to comment.