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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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 carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors