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

HTTP get file with a specific encoding

Hi all,
I need your help. In my Flow I have an HTTP GET request that returns the file content in the body section from a API. My next step is to post this data via another HTTP request with the file attached. 

 

Unfortunately, I can't find a solution for the encoding in the body that comes with the request. As I'm from Sweden we have Å Ä Ö and our general encoding is OEM 865. The result is that my next task will fail as it doesnt allow the unknown characters.

 

Below are the request and the results with the character marked in red. I've tried to add content-type as a header Text/plain but it doesn't seem to do any difference. I hope that someone can help me. 

 

- Do you have any ideas what I'm missing?  Is there a posibility to encode the values in from the request? 

 

Many thanks in advance

 

//Fredrik from Sweden

 

GetFileviaHTTP.JPG

3 REPLIES 3
Expiscornovus
Super User II
Super User II

Hi @FredrikUmea,

 

As far as I am aware converting the charset like that doesn't work.

 

But maybe a workaround can be the creation of a customer connector?

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank

 

In this thread I see somebody was struggling with a similar issue and changed the charset of the custom connector to utf-8: https://powerusers.microsoft.com/t5/General-Flow-Discussion/Questions-for-custom-authorization-and-H...

 

 

 

primakid
New Member

Hi Fedrik,

 

Are you already solved this issue? i got the same issue.

 

Please help to shared if you already solved this issue.

 

Thanks,

Prima

For me the same. And I cant't use Custom Connector cause I had to rebuild browser steps to connect to my file, but charset is coming like described not in UTF-8 and I can't replace or encode my file right 😞

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (50,766)