cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Graph API BadGateway Error

I have a basic flow to add new rows into Excel online. It has been working fine since May but recently I noticed a lot of failed Flows with the below error.  Can you please help resolve this ?

 

{
  "error": {
    "code": 502,
    "source": "flow-apim-msmanaged-na-westus2-01.azure-apim.net",
    "clientRequestId": "f65a73ea-5a5b-4bdf-8290-e045274b2087",
    "message": "BadGateway",
    "innerError": {
      "status": 502,
      "message": "Graph API is currently unavailable.\r\nclientRequestId: f65a73ea-5a5b-4bdf-8290-e045274b2087",
      "source": "excelonline-eus2.azconn-eus2.p.azurewebsites.net"
    }
  }
}
1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

I removed the formulae from the table in Excel where the data was inserted by Flow. 

I incorporated the formula based calculations into the Flow itself and updated so that all the data is added at once.

 

Now its running properly for the same set of data that failed before and its faster too. 

So, removing the formulae from the sheet seems to have resolved it for now.

View solution in original post

7 REPLIES 7
v-bacao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Could you share the screenshot of the Flow configuration and the details of the error message? Which action has this problem?

The Error message shows that the Graph API is currently unavailable. It seems that this is a temporary error.

Please try to reconfigure the action first, then resubmit the Flow to see if a similar issue still exists.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Base.png

This is my basic setup. When http posts data in json format, it picks up data list and adds them in loop one by one in each row of excel online.

This file has reached 4MBs / 14000+ rows. I have derived some PIVOT tables and charts in a sheet in the same file based on this data.

I tried to manually re run some failed flows. Some flows with less data passed and some big ones failed (but havent had any issues like this so far, even with a big list of 30+rows)

 

I dont know if any of these could cause this issue. 

Every failed error shows BadGateway as the reason. 

Hi @Anonymous ,

 

Thank for your reply.

What is the run result of this Flow before, is there a success?

If it can be successfully run before, according to the error message, it seems that the corresponding service is temporarily unavailable.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I removed the formulae from the table in Excel where the data was inserted by Flow. 

I incorporated the formula based calculations into the Flow itself and updated so that all the data is added at once.

 

Now its running properly for the same set of data that failed before and its faster too. 

So, removing the formulae from the sheet seems to have resolved it for now.

View solution in original post

I am getting the same error in my flow. However, the table the data is being added to has no calculations. But I am still getting the error that the Graph API is currently unavailable. 

 

Sometimes rows are added, the rows that are getting added are either blank or the row has multiple duplicates of the same data. 

I'm seeing the same issue here. My flow which is taking MS Forms response and inserting into an excel file (table) has been working for over a month but is throwing this error now in the last 24hrs. There are now formulas or complicated steps in the flow.

 

The number of records is less than 300 and the file size is <1mb. I've reinserted the action "Add a row into a table" and resubmitted the failed flow but still the same error....

 

"code": 502,
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Graph API is currently unavailable.\r\nclientRequestId:.....
"error": {
"message": "Graph API is currently unavailable."

 

Any help/suggestion would be extremely appreciated.

 

 

SavioMathews
New Member

I'm getting the same error. While I have formulae in the same table, I don't think it will be auto-populating; it'll not be added to the table once the row might be created since the formulae are typed only in the last several rows. I  will have to manually drag and drop after the row is created. I know this because that's how it is working in other tables that are successfully auto-populating from other forms in the same file, all of them in the same account.  I am not worried about formulae not auto-populating. I just want the rows to be created. It doesn't look like 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (86,077)