web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

How to solve 502 -Web server received an invalid response while acting as a gateway or proxy server error

(0) ShareShare
ReportReport
Posted on by 35

Hello all,

I am getting 502- bad gateway error.

502 - Web server received an invalid response while acting as a gateway or proxy server.

There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

Anyone help this issue and let me know the solution.


Thank you.

Kind Regards,

Dipen

I have the same question (0)
  • Suggested answer
    sdfasdf Profile Picture
    842 on at

    Best way to do that is to consider the Retry approach documented here: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/api-limits#:~:text=Number%20of%20requests%20exceeded%20the,users%20to%20perform%20bulk%20operations.

    I hope it helps!

  • D patel Profile Picture
    35 on at

    Hello,

    Thank you for a reply to my thread.

    Is there any other solution to solve that error?

    As you mention the link in my post is not solve my error.

    Thank you.

    Kind Regards,

    Dipen

  • Suggested answer
    sdfasdf Profile Picture
    842 on at

    Hi,

    If the article I shared does not solve the issue, then I'm afraid your best option for now is to log a support ticket with Microsoft for further investigation. HTTP 502 is a server-side error, so it seems something is failing on the application level, which is something Microsoft support can assist you with.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Suriyanarayanan V Profile Picture

Suriyanarayanan V 22

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 20 Super User 2026 Season 1

#3
Encore Business Solutions Profile Picture

Encore Business Sol... 14

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans