cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
rmmcgr
Level 8

Start an approval failing with "500 bad gateway"

I have a flow where a variable is initialised with two email address in our organisation, separated with semicolons, and then further emails are added to the variable, again separated with semicolons.

 

This variable is then used as the list of approvers to send to.

 

However each time the flow runs the "Start an Approval" task fails with the error: 
InternalServerError. The request failed. Error code: '500'. Error Message: 'BadGateway'.

This messages does not tell me anything useful, so I am unsure as to what the problem is.

Here is my flow:

 

flowwitherror.png

 

And here is the "Start and approval" task in edit mode:

approvaltask.png

 

What could the problem be?


Thanks for any help,

Richard

6 REPLIES 6
Community Support Team
Community Support Team

Re: Start an approval failing with "500 bad gateway"

Hi @rmmcgr,

 

If the error code 500 appears, the failure is temporary or transient. Click or tap Resubmit to try the flow again.

Also please take a try to delete the dynamic conteent in the "Start an approval" action to see if the issue still exists.

 

Best regards,

Alice

Administrator
Administrator

Re: Start an approval failing with "500 bad gateway"

Hello,  @rmmcgr!

Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
rmmcgr
Level 8

Re: Start an approval failing with "500 bad gateway"

I did try the recommendation but unfortunately it did not work.

 

I have raised a support ticket and will see what happens from there.

 

Thanks,

Richard

Re: Start an approval failing with "500 bad gateway"

Did you get any resolution on this issue? I'm running into the same thing

julianzhuang
Level: Powered On

Re: Start an approval failing with "500 bad gateway"

I have the same issue and tried many ways but all failed. Anyone has solution? Thanks.
rmmcgr
Level 8

Re: Start an approval failing with "500 bad gateway"

So it turns out the problem in our case was related to the fact that we were using some an email addresses that were  distribution groups/Office 365 groups.

 

I think the approval flows will only work with approval requests to emails associated with proper user accounts in Office 365. Once we removed the group email addresses it started working.

 

Hope this helps,

Richard

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,947)