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 Platform Community / Forums / Power Automate / OneDrive "Get File Con...
Power Automate
Unanswered

OneDrive "Get File Content" fails

(0) ShareShare
ReportReport
Posted on by 6,048 Super User 2024 Season 1

q24.png

I am trying to attch static file from my OneDrive to Email. "Get file Metada" is success. But, Get file Content fails with status code 403. 

Both operations are on same image file.

Categories:
I have the same question (0)
  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @zmansuri 

    Thank you for posting.

    Could you show me the details of get file content?

    When appear 403 error, it could be authentication error.

    You can refer to this document:

    https://docs.microsoft.com/en-us/power-automate/fix-flow-failures

    v-LilyW-msft_0-1621316485354.png

    I also created the flow to attch static file from my OneDrive to Email,you can refer to the flow as below:

    v-LilyW-msft_1-1621316485359.png

    v-LilyW-msft_2-1621316485363.png

    Then save Flow and can test it.

     

    The file:dotest.xlsx will be sent as an attachment to the email after flow runs.

    v-LilyW-msft_3-1621316485364.png

    Hope the content above may help you.

    Best Regards

    Lily

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Thank you for the reply. I will try that and get back to you. Can you explain why did you use variables? the video i saw, he directly attach from "Get file content".

  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @zmansuri 

     

    Thank you for your responding.

    You can also do it directly without variables as below:

    v-LilyW-msft_0-1621326588047.png

    Best Regards

    Lily

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Getting same error.

    a7.jpg

    a8.jpg

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    It was permission issue from my organization side. I used my personal OneDrive and it's working fine.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 639

#2
Valantis Profile Picture

Valantis 392

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard