Showing results for 
Search instead for 
Did you mean: 

Unable to make GET call that returns the file content as a string

Hello guys, 

I have a custom connector defined, that is based on a REST API that makes a GET call to download the contents of a blob as a string of content-type application/pdf or application/png

The content is a pdf or a png file. 

The API call works fine in the connector test and even in POSTMAN (I can see the file contents as an application/json)but fails when I add it to the flow with the error- Http request failed as the content was not valid: 'Unable to translate bytes [A1] at index 11 from specified code page to Unicode.'.



If anyone has encountered this issue, some insight would be very helpful!

Helpful resources

Community Conference

Power Platform Community Conference

Come join us today! Find your favorite faces from the community presenting at the Power Platform Community Conference!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Users online (2,590)