Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

SharePoint Graph API upload file , empty content issue

(0) ShareShare
ReportReport
Posted on by 47

Hi all ,

 

  Iam creating a file in SharePoint library using Graph API , I see the file is being created but see the file contents to be blank. Can anyone help me with this. Thanks in advance

 

divyaakula_1-1697708106056.png

 

The body contains the base 64 string of the pdf.

 

  • divya-akula Profile Picture
    47 on at
    Re: SharePoint Graph API upload file , empty content issue

    @BlackCat  I have switched to Rest API

  • BlackCat Profile Picture
    2 on at
    Re: SharePoint Graph API upload file , empty content issue

    Hello @divya-akula ,

     

    Did you resolve your issue?

    I have the same: File comes with correct number of pages (3 for example) and shows correct size, but not content.

    I have an automated system, some files come out just fine and some has troubles.

     

    Thank you.

  • Bmutsinzi Profile Picture
    Microsoft Employee on at
    Re: SharePoint Graph API upload file , empty content issue

    Hell @divya-akula 
    Kindly raise a service ticket if the content is available but the invoke card is returning blank output.
    Get Help + Support in Power Platform - Power Platform | Microsoft Learn

  • divya-akula Profile Picture
    47 on at
    Re: SharePoint Graph API upload file , empty content issue

    hi @Bmutsinzi  

    thanks for the reply, I see the body to be fine , here is the screenshot.

     

    divyaakula_0-1697789844080.png

     

  • Bmutsinzi Profile Picture
    Microsoft Employee on at
    Re: SharePoint Graph API upload file , empty content issue

    @divya-akula Check if the body content you are trying to add to the SharePoint has output, this can be done by adding maybe a compose card or send an email to your self to see the output you are trying to get if it is there or missing.

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow