Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

HTTP get file with a specific encoding

(1) ShareShare
ReportReport
Posted on by 4

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

  • P3Sven Profile Picture
    P3Sven 119 on at
    Re: HTTP get file with a specific encoding

    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 😞

  • primakid Profile Picture
    primakid 4 on at
    Re: HTTP get file with a specific encoding

    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

  • Expiscornovus Profile Picture
    Expiscornovus 31,124 on at
    Re: HTTP get file with a specific encoding

    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-HTTP-action-charset/td-p/88320

     

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics