Forum Discussion
PallaviKGVG
8 years agoHelper 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 ...
PallaviKGVG
8 years agoHelper 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
- v-jiascu-msft8 years agoMicrosoft Employee
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
- PallaviKGVG8 years agoHelper I
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