The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have an error Embedding Power BI dashboard. The tiles show up but the data is not.
It has a CORS Error.
OPTIONS https://wabi-west-europe-b-primary-redirect.analysis.windows.net/powerbi/refresh/subscribe
Response: 200
Access-Control-Allow-Headers: Accept,Content-Type,Authorizat…-PowerBI-TryLoadHomeDashboard
Access-Control-Allow-Methods: POST
Access-Control-Allow-Origin: https://app.powerbi.com
Access-Control-Expose-Headers: X-PowerBI-Error-Info,X-PowerBI-Error-Details
Access-Control-Max-Age: 300
POST https://wabi-west-europe-b-primary-redirect.analysis.windows.net/powerbi/refresh/subscribe
Response: 401
Access-Control-Allow-Origin: https://app.powerbi.com
Access-Control-Expose-Headers: X-PowerBI-Error-Info,X-PowerBI-Error-Details
Cache-Control: no-cache, no-store, must-revalidate
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-PowerBI-Error-Info: TokenExpired
I am not sure why the error info says TokenExpired when the app has just started.
Any ideas?
Are you sure it is a CORS error? From looking at the error info you posted, my guess is that you are using an access token that is over 60 minutes old which has expired. How often are you refreshing the access token?
Hi,
I have an error Embedding Power BI dashboard. The tiles show up but the data is not.
It has a CORS Error.
OPTIONS https://wabi-west-europe-b-primary-redirect.analysis.windows.net/powerbi/refresh/subscribe
Response: 200
Access-Control-Allow-Headers: Accept,Content-Type,Authorizat…-PowerBI-TryLoadHomeDashboard
Access-Control-Allow-Methods: POST
Access-Control-Allow-Origin: https://app.powerbi.com
Access-Control-Expose-Headers: X-PowerBI-Error-Info,X-PowerBI-Error-Details
Access-Control-Max-Age: 300
POST https://wabi-west-europe-b-primary-redirect.analysis.windows.net/powerbi/refresh/subscribe
Response: 401
Access-Control-Allow-Origin: https://app.powerbi.com
Access-Control-Expose-Headers: X-PowerBI-Error-Info,X-PowerBI-Error-Details
Cache-Control: no-cache, no-store, must-revalidate
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-PowerBI-Error-Info: TokenExpired
I am not sure why the error info says TokenExpired when the app has just started.
Any ideas?