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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nidhi171094
Frequent Visitor

Operation returned an invalid status code 'Forbidden' GenerateTokenInGroupAsync

nidhi171094_0-1655709180232.png

Hi ,

I am getting an error while executing the GenerateTokenInGroupAsync().  The error "Operation returned an invalid status code 'Forbidden'".  

3 REPLIES 3
Hariharan_R
Solution Sage
Solution Sage

Hi @nidhi171094 

I think you exceeded the request count. 

Please see the solution in this thread - https://community.powerbi.com/t5/Developer/Operation-returned-an-invalid-status-code-Forbidden/m-p/3...

Thanks

Hari

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.


My Blog :: YouTube Channel :: My Linkedin


please suggest how to check request count 

Hi @nidhi171094 

I doubt on seeing the requested counts. I think we dont have option to see.

 

Limitations - https://github.com/MicrosoftDocs/powerbi-docs/blob/live/powerbi-docs/developer/automation/api-rest-a...

Thanks

Hari

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.


My Blog :: YouTube Channel :: My Linkedin


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.