Forum Discussion
power bi embed 'this content is not available'
- 9 years ago
(My posts keep getting auto-deleted, maybe I'm not allowed to link to stackoverflow? :/)
Ayway, here are the required claims:
Required Claims ver: 0.2.0 wcn: {WorkspaceCollectionName} wid: {WorkspaceId} rid: {ReportId} aud: https://analysis.windows.net/powerbi/api nbp: Token valid not before in Unix EPOCH time exp: Token expiration in Unix EPOCH time
Does the data source of your report use DirectQuery? In that case your might have forgotten this step:
You need to tell PowerBI Embedded how to connect to your data source (i.e. credentials), this is not stored in the PBIX file.
- mangopop9 years agoFrequent Visitor
Thanks for the reply. This was created with the import option, so I didn't add the connection details. I would be helpful if there were some more informative error messages, as it is I'm a bit stuck.
- mangopop9 years agoFrequent Visitor
I am getting this error message GET https://wabi-west-europe-redirect.analysis.windows.net/metadata/cluster 403 (Forbidden) Perhaps it's the created of the JWT that is causing me trouble.
- mangopop9 years agoFrequent Visitor
Here's an exampleof the JWT
`{
"wid": "c13d0a99-****-****-9d76-2a644847ddde",
"rid": "d3d8c45f-****-****-bb4f-0affe770daba",
"iss": "PowerBISDK",
"ver": "0.2.0",
"aud": "https://analysis.windows.net/powerbi/api",
"wcn": "myWCN",
"type":"embed"
}`That's all I should need to create the access token right?