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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.