Forum Discussion
Error - POSTMAN REST Client - Google Chrome - "Found invalid content-type. The content-type must be application/json" - Header IS set
- Jun 17, 2016
FIXED! The issue seems to have been caused by the Postman-Token header confusing the F5 (you can see it using chrome tools network tab) . Somehow the F5 was treating the Postman-Token as the Content-Type header. Disable the Postman-Token header (Settings > General > Headers > "Send Postman Token header") and the request gets through.
You can see the purpose of the Postman-token header here https://www.getpostman.com/docs/settings
Enable chrome tools for postman http://blog.getpostman.com/2014/01/27/enabling-chrome-developer-tools-inside-postman/
Hi,
sounds it's a bug, if you have a deep look at postman request, you will probably see that by default it set the content type to application/xml. You need to manually specify the Content-Type header with application/json value.
- Andrew_Pinder_2Jun 17, 2016AltostratusI have inspected the Postman request with the chrome tools network debugger and the Content-Type header certainly looks to be set - but i am getting the same Content-Type error The error message is "The content-type must be application/json. The received content-type is 7f007420-1b79-d546-b274-dbe86805277e" which is the value of the header Postman-Token: "7f007420-1b79-d546-b274-dbe86805277e". Hmmmm
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com