Forum Discussion
Action 'Get_file_content' failed suddenly
Morning,
I have had my flow fail suddenly with no changes to the form or the flow.
I use the following to get the file contents from the MS form response
I have also re-run one that has previously worked and that now does not work.
All I can assume is that an update/change has been made to this action?
Any help would be appreciated.
7 Replies
- WazCopper Contributor
Mark,
I have been working on this on some response forms for myself and stumbled across this video series <https://youtu.be/Od3y5mfQ8QA?si=VeAtNqP_F_emz6nH> The creator does a great job of breaking things down and it helped me solve my issue. Which was that I was not using a DriveID when trying to "Get File Content" so Power Automate was looking in my personal one drive rather than the group sharepoint site. I hope this information helps you!
- MarkAldousCopper Contributor
Thanks for this, I will take a look.
coincidentally I fixed this issue by moving the flow (which was on a shared drive) to my own drive and it now works. All I can assume is that MS have changed something..
- BryceBCopper Contributor
I am also experiencing the same issue. With one exception, the error. My error is a "statusCode": 400. I also tried the file input for the Get File Content action with and without the json before output. Which is how it original worked for me.
- MarkAldousCopper Contributor
I fixed mine - well more of a work around. The form sends the file attachments to my one drive. The flow is on a shared drive, so I re-created the exact same flow on my one drive and it now works fine.
MS must have changed something so that the shared drive flow cannot get files from a personal drive??
- WazCopper Contributor
Out of curiousity, are you using a custom value for your form ID? on the Get Response details? This is the only difference I have in my flow from other versions that are successfully collecting attachments and adding them to lists. I used custom value because Power Automate did not link up with new forms that I just created.
- BryceBCopper Contributor
I am not using custom values. Just using the connections hub for the various MS connections.
- WazCopper Contributor
I am also having this same issue. Last week, I created a form to collect data from staff and a list to store that data, completed multiple successful tests with various attachments. This morning I created my next form/list, I've verified that everything is correct. And i am getting the same error message when testing the flow.