web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: How to solve 502 -Web server received an invalid response while acting as a gateway or proxy server error

    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
    RE: How to solve 502 -Web server received an invalid response while acting as a gateway or proxy server error

    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
    RE: How to solve 502 -Web server received an invalid response while acting as a gateway or proxy server error

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 28

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans