I need help understanding why file id is invalid when we are working with the "Get file content" component in a flow, which in my case connects to OneDrive. Here is my original setup...
The Id formula used in the File field is a custom expression....
items('Apply_to_each_to_loop_through_Photo_Cover_array')?['id']
When A user submits the original Microsoft Form which I created, and adds an attachment (the photo cover image), it all comes back to this flow. The flow at the moment is throwing the following error...
My question...why is 1 or 2, or even 10 as the file id, invalid???
Many thanks on helping me understand this fully.
Solved! Go to Solution.
Solve my issue by using a Compose process, to detect what the id value is of my array item like so...
items('Apply_to_each_to_loop_through_Photo_Cover_array')?['id']
... and assign that id value to the value for File:
Within my flow component "Get file content from OneDrive for Photo Cover" is the main issue. That value I have set for the File input is :
I have a feeling that value is incorrect, but not sure what to do next? What should this File value be in theory? an ID value? a binary of the actual image attached? a path?
Many thanks on helping me get closer to solving this!
Solve my issue by using a Compose process, to detect what the id value is of my array item like so...
items('Apply_to_each_to_loop_through_Photo_Cover_array')?['id']
... and assign that id value to the value for File:
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
12 | |
11 | |
9 | |
9 | |
6 |
User | Count |
---|---|
26 | |
20 | |
12 | |
8 | |
7 |