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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PallaviKGVG
Helper I
Helper I

Clientside - 403 Forbidden using Embedded

I have the error

https://wabi-south-central-us-redirect.analysis.windows.net/powerbi/metadata/userSettings Failed to load resource: the server responded with a status of 403 (Forbidden) when its on demo server. 

 

 

How can i resolve this. Its running good on localhost.

 

Thank you 

Pallavi K

3 REPLIES 3
PallaviKGVG
Helper I
Helper I

{"error":{"code":"TokenExpired","message":"Access token has expired, resubmit with a new access token"}} this is the response and the error is 

Request URL:  https://wabi-south-east-asia-redirect.analysis.windows.net/metadata/cluster

Request Method: GET

Status Code: 403 Forbidden

Hi @PallaviKGVG,

 

As we can see from the error message, the access token expired. Please assign a new token and try again.

1. How did you embed your contents?

2. How did you get the tokens?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-jiascu-msft,

 

  • I am calling the powerbi rest api's from my server[PHP laravel] end and returning the embedtoken,reportid,embedurl to the client side[Angular4].
  • I use angular2-powerbi npm package for embedding the report on client side[Angular4]. 

 

Best Regards

Pallavi

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors