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
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
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.