cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alekshemilten
New Member

HTTP Action always return error 416

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

flow.png 

2 REPLIES 2
Gopala_Krishna
Super User
Super User

@alekshemilten 

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

@Gopala_Krishna 

 

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?

alekshemilten_0-1614032434097.png

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,123)