cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

BadGateway for "Set content approval status"

Hello, 

I have a Flow that runs an approval process for files in a SharePoint Online document library. My users have been using this Flow for months without issue until this week. All of the Flow's runs keep failing with the following error: 

 

{
  "error": {
    "code": 502,
    "source": "flow-apim-msmanaged-na-northcentralus-01.azure-apim.net",
    "clientRequestId": "b536d691-d87a-4634-9154-fbaad4c10d54",
    "message": "BadGateway",
    "innerError": {
      "status": 500,
      "message": "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))\r\nclientRequestId: b536d691-d87a-4634-9154-fbaad4c10d54\r\nserviceRequestId: b536d691-d87a-4634-9154-fbaad4c10d54"
    }
  }
}

 

I am an owner of the SharePoint site and Flow. Additionally, this is an Instant Flow. Does anyone know the best course of action to fix this error? 

 

Thank you! 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: BadGateway for "Set content approval status"

The error seemed to stem from the flow permissions. After going to manage run-users and selecting the SharePoint tab, I was able to give access to the corresponding document library and list. 

 

More information here: https://powerusers.microsoft.com/t5/Building-Flows/Set-Content-Approval-Status-quot-Access-Denied-qu...

View solution in original post

1 REPLY 1
Highlighted
Frequent Visitor

Re: BadGateway for "Set content approval status"

The error seemed to stem from the flow permissions. After going to manage run-users and selecting the SharePoint tab, I was able to give access to the corresponding document library and list. 

 

More information here: https://powerusers.microsoft.com/t5/Building-Flows/Set-Content-Approval-Status-quot-Access-Denied-qu...

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,208)