Forum Discussion
Export Report in Group Timeout (500), but Forbidden Error (403) when using preferClientRouting=true
- Anonymous4 years ago
Hi db190Coding ,
Please check the offical blog to get more information about how to troubleshooting when API call returning 403.
For reference: API call returning 403
What is the capacity of the workspace where your report is located, Shared Capacity or Premium Capacity?
I checked an know issue with similar problem that when using Export to File REST API, API call returns a 500.
Its workaround is moving the workspace to Premium Gen2.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You should be getting a 307, not a 403.
"If your request arrives at the wrong cluster, the Power BI service returns a 307 Temporary Redirect HTTP response. In such cases, you need to redirect your request to the new address specified in the response HTTPS Location header."
Does your request work if you don't ask for the routing?
- db190Coding4 years agoRegular Visitor
Hi and thanks a lot for your support. Yes, without the Parameter, the request works, but in case of the Download of this pbix file, which has about 300 MB times out with response Code 500 after some time. For smaller files (I tested with a 90 MB file) it works without any issue.
- Anonymous4 years agoNot applicable
Hi db190Coding ,
Please check the offical blog to get more information about how to troubleshooting when API call returning 403.
For reference: API call returning 403
What is the capacity of the workspace where your report is located, Shared Capacity or Premium Capacity?
I checked an know issue with similar problem that when using Export to File REST API, API call returns a 500.
Its workaround is moving the workspace to Premium Gen2.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- fariayakhan3 years agoRegular Visitor
Hi db190Coding,
I am facing the same issue as well. Were you able to resolve this issue?
Anonymous My workspace is location in a premium capacity.
I have also raised a ticket for this but we have not been able to resolve this issue yet
Thanks & Regards,
Faria
- lbendlin4 years ago
Super User
300 MB is still a reasonably small file. If you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/