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 Apps / AzureBlobStorage.GetFi...
Power Apps
Answered

AzureBlobStorage.GetFileContent failed. The method 'GetFileContent' has an invalid value for parameter 'id'

(0) ShareShare
ReportReport
Posted on by 894

In my canvas app, I get this error:

 

AzureBlobStorage.GetFileContent failed. The method 'GetFileContent' has an invalid value for parameter 'id'

 

Despite the error, the app succeeds in displaying the picture!

 

This does not show up while designing and testing the app in PowerApps studio. Only when the App is actually run do I see this error.

 

Here is the offending code:

 

IfError(
 ClearCollect(
 blobs,
 CollectAzureBlobStorageRecordForStCode.Run(glCurrentStCode)
 ),
 ""
);
Set(
 BlobRowCount,
 CountRows(blobs)
);
Clear(blobCollection);
ForAll(
 blobs,
 Collect(
 blobCollection,
 {
 RowIndex: CountRows(blobCollection) + 1,
 Comment: blobs[@Comment],
 BlobStorageID: blobs[@BlobStorageId],
 FK_LinkID: blobs[@FK_LinkID],
 Timestamp: blobs[@Timestamp]
 }
 )
);

and

If(!IsEmpty(ThisItem.BlobStorageID),AzureBlobStorage.GetFileContent(ThisItem.BlobStorageID))

In all cases the id parameters are valid!! How do I remove this unwanted error message?

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

    Hi @stapes ,

    Do you fire a flow to get the blobs table in your canvas app?
    Do you mean that the error only show up when you run your app in web browser?

    Please check if you have retrieve proper Blob Id value within the blobs collection. The Blob Id may be in the following format:

    JTJmY29udGFpbmVyJTJmMTAwMDEwMDk2NDU1NTE3MTE3

     

    Also please consider modify your formula within the Image property of the Image control in your Gallery to following:

    If(
     !IsBlank(ThisItem.BlobStorageID),
     AzureBlobStorage.GetFileContent(ThisItem.BlobStorageID)
    )
    

    Also please make sure you have turned on the "Formula-level error management" option within Advanced settings of App settings of your app.

     

    Best regards,

  • stapes Profile Picture
    894 on at

    Thanks @v-xida-msft -

    I fired a flow to get the blobs table in my app. The id's are valid.

    The error messages only show when I run the App in a browser.

    !IsBlank(ThisItem.BlobStorageID)

    This solved the problem. Formula-level error management also helps with other unwanted error messages.

     

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 Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard