cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Continued Contributor
Continued Contributor

Azure Blob Storage.GetFileContent failed: The method 'GetFileContent' has an invalid value for parameter 'id'

I am getting this error, even though the screen is displaying the image it says it has failed to get.

Here is my 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]
        }
    )
);

It may be the Collect that is causing the error. I have tried wrapping it with IfError(...,"") but it doesn't see it as valid code:

IfErrorError.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Azure Blob Storage.GetFileContent failed: The method 'GetFileContent' has an invalid value for parameter 'id'

Hi @stapes,

 

This is a tough one, how does your GetFileContent call look like?

The error might not come from the GetFileContent but from somewhere else.

I would try to keep it simple and separate the actions that you have.

 

I'm also going to include a link to a good video on constructing an app with Azure Blob:

https://www.youtube.com/watch?v=ivWA8RuXedA

 

Thank you,

Ovidiu

View solution in original post

1 REPLY 1
Highlighted
Microsoft
Microsoft

Re: Azure Blob Storage.GetFileContent failed: The method 'GetFileContent' has an invalid value for parameter 'id'

Hi @stapes,

 

This is a tough one, how does your GetFileContent call look like?

The error might not come from the GetFileContent but from somewhere else.

I would try to keep it simple and separate the actions that you have.

 

I'm also going to include a link to a good video on constructing an app with Azure Blob:

https://www.youtube.com/watch?v=ivWA8RuXedA

 

Thank you,

Ovidiu

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

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

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,264)