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 Automate / The response is not in...
Power Automate
Unanswered

The response is not in a JSON format Error code 302

(1) ShareShare
ReportReport
Posted on by 71
Hi all,
 
I am running into an issue when inserting rows into an Excel file.
 
I am using the M365 connector 'Send and HTTP request' to POST the rows into an Excel. 
The rows are in a JSON format.
 
The flow works fine if the JSON contains less than 20,000 rows of data. But as my dataset contains 25,000 rows, the flow is throwing a 'Redirect' message with code 302, which is not really an error.
 
So instead of troubleshooting the error below, I was thinking of finding a solution to the redirect error knowing that the flow works perfectly with less than 20k rows.
    "message": "The response is not in a JSON format.",
    "innerError": "Cannot read server response."
 
Any idea how I can handle this please?
 
Below is my Flow. We are getting the JSON from Powerapps and I am creating the Excel file on Onedrive.



Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    Hi @ ,
     
    when getting the redirect url - any url value is found under response header ?
     
     
    Thanks & Regards,
    Nived N
     
     
  • StephanJ Profile Picture
    71 on at
    This is what I receive when it is returning the redirect 
     
    "Location": "/error/error.html?aspxerrorpath=/x/_layouts/xlrestinternal.aspx",
     
    but in case of success the location is https://graph.microsoft.com/
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#2
Henil Profile Picture

Henil 128

#3
anirudhev Profile Picture

anirudhev 124

Last 30 days Overall leaderboard