Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

307 TemporaryRedirect when writing data to Excel file in SharePoint

(2) ShareShare
ReportReport
Posted on by 5
This flow has been working but started to fail intermittently about two weeks ago.

The flow uses an 'Invoke an HTTP request' action with Graph API to write JSON data to an Excel file stored in a SharePoint Online document library. More often than not, the flow has started failing at random points with a 307 TemporaryRedirect status code. I have added a 'Condition' action to check for the 307 code, and if found, capture the new URI from the Location header in the response. Another 'Invoke an HTTP request' action uses the new URI to make the request again, but it receives a 400 Bad Request response.
 
1.) What could suddenly be causing the 307 error?
2.) Why is the new URI getting a 400 error?
3.) Instead of trying to follow the redirect, should I have the flow wait and retry the original URI?
 
Thanks in advance.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >