Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
eponkratova87
Frequent Visitor

Connected to box.com but getting Bad Gateway error

I am pulling several reports from box.com. If I refresh from Power BI desktop, it is getting refreshed wo problem but then, if I try to refresh from the cloud, I am getting the Bad Gateway error. I've tried to play with the security settings, like Anonymous vs Organizational; Anonymous vs Public; Anonymous vs Private and still keep on getting the error. Interestingly, though, when I changed to  Anonymous vs Organizational, it refreshed but then, failed the next day with the same 502 error. What could be a solution?

Web.Contents failed to get contents from 'https://public.boxcloud.com/d/DChgPE2g1FmnH_HWYP_Rv4AzfoDr5ymYttRdBevje9-BHDkuR-cdtvMv3K6gBwGgRPsLBn...' (502): Bad Gateway
Cluster URI:WABI-SOUTH-AFRICA-NORTH-A-PRIMARY-redirect.analysis.windows.net
1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @eponkratova87 

502 Bad Gateway is an error at the website/host, and can often be caused by a request taking too long to respond.  Your request may be starting something like a database query or a PHP script that is taking a long time to respond.

Are your refreshes taking a long time to respond before you get the 502?

Can you break the queries into smaller steps so not as much data is being requested per query?

Check with BoxCloud what their max execution time is for a web request or script execution.

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors