I am having some issues with HTTP Action.
I tried to access an external API by using HTTP Action and GET request, but it always returns an error message status of 416.
{"errors":[{"status":"416","title":"Request header error","detail":"Unsupported media type received"}]}
I tried to call this API from Postman and managed to get the data successfully.
Any thoughts? Any help will be greatly appreciated
Here is the request
Thanks for your reply. I did try that one and it still returns the same error message.
Do you know what else can I try to solve this?
The (vnd.) specifies to specific vendor type designed API, not many API's support this. This is many used when you want to query a blog site to retrieve blog articles related to a specific user along with some metadata tags like link to the blog.
You can use application/json instead. For information related to differences between application/json and application/vnd.api+json please check the link - Header value: application/vnd.api+json - Stack Overflow
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if the information shared helps you, please consider giving a thumbs up 👍 and mark solution as resolved