Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi All,
I am getting a wierd issue when making a call to the api, It returns below error:
Operation returned an invalid status code 'OK'
This is the call:
var export = await pbClient.Reports.ExportToFileInGroupAsync(groupId, reportId, exportRequest);
Appreciate your help in advance.
Thanks
Lloyd
Hi @deryl1974 ,
If your rest API response is 200 OK, it means the operation is successful.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Liang,
Thank you for your response. Here is the what i got from the response object:
<div class="contentErrorText">We couldn't find the page you were looking for.</div>
<div class="contentErrorDescription">TECHNICAL DETAILS <br/>An unknown error occurred. If you continue to see this error, please provide the following information when requesting support.</div>
Also somehow the request url goes to :{https://app.powerbi.com/ErrorPage?code=404}
Here is what i am using
var pbClient = new PowerBIClient(new Uri("https://app.powerbi.com"), tokenCredentials);
Best
Lloyd
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |