SyntaxFix
Write A Post
Hire A Developer
Questions
I had a similar error today and the issue was the content-type header of the post request. Make sure the content type is what you expect. In my case a multipart/form-data content-type header was being sent to the API instead of application/json.
multipart/form-data
application/json