cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

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.'.

kachanda_0-1596149987095.png

 

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

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,271)