web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

406 NotAcceptable

(0) ShareShare
ReportReport
Posted on by 36

Hi,

I created a custom connector to an extrenal CRM system and I wan't to via their api pull all the customers. I have been able to do this in postman and in the custom connector when testing (I'm using an API key). 

 

I'm not sure what I'm doing wrong in flow but I get this in flow, I assume something maybe I should be sending that I'm not? I can't see what though as the test in powerapps works (i even get the customers returned there) on the connector page.

flowerror.PNG

Categories:
I have the same question (0)
  • tonmcg Profile Picture
    7 on at
    According to MDN (https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406), this is an error produced by the server when the response it's trying to send doesn't conform to the format defined by one of your request headers. Put another way, your request asked for the response to be in British English but the server responded in Australian English. This isn't allowed.

    According to MDN:

    If a server returns such an error status, the body of the [error] message should contain the list of the available representations of the resources, allowing the user to choose among them.

    The error message you received should contain a clue about the format of the response the server tried to send and the format your request told it to send.

    The format defined in one or more of the following headers should match in both the request and the response:
    Accept
    Accept-Charset
    Accept-Encoding
    Accept-Language

    Tony
  • Verified answer
    RyanMesser Profile Picture
    36 on at

    Thanks for the response, 

     

    Yes I knew due to getting 406 that in the Flow  it isn't liking something i was sending. I had a suspicion that it was the Content-Type as it should be sent application/json. 


    For some reason although not required in the Power Apps test section or postman I had to add in the header

    Accept application/json (I was already sending Content-Type application/json) but I noticed on the response intially the content type was text/html which isn't correct.


    So for clarity I had to add accept: application/json to the header for it to work. 

     

    Thanks

     

    Ryan

     

     

  • tonmcg Profile Picture
    7 on at
    That's good to know. Glad you solved it.

    Quick question: since Flow routes requests through Azure, how do monitor and debug network traffic?
  • tonmcg Profile Picture
    7 on at
    That's good to know. Glad you solved it.

    Quick question: since Flow routes requests through Azure, how do monitor and debug network traffic?
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RyanMesser I am having the same issue you described here, but I do not follow how you resolved it.

     

    Can you please provide some details to a PowerApps rookie?

     

    Thanks

     

  • _romi Profile Picture
    4 on at

    Can you please give me more details. I am unable to make it work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard