Today when a report is not published in reports admin the user is met with an error saying Failed to load report
Instead we should add some more detailed error messages. When the /token returns a 404 statuscode we should show some error message saying "Are you sure the report is published or something"
Note: the token endpoint points to https://reports.api.fusion.equinor.com/reports/<report_id>/token
Business Value / Developer Experience
It doesnt happen often but is very confusing for both developers and users when the failed to load report message shows up.
Acceptance Criteria
Should show reasonable error messages when an error occurs while loading a powerbi report
404 errors on /token should be handled
Expected outcome
Today when a report is not published in reports admin the user is met with an error saying
Failed to load report
Instead we should add some more detailed error messages. When the /token returns a 404 statuscode we should show some error message saying "Are you sure the report is published or something"Note: the token endpoint points to
https://reports.api.fusion.equinor.com/reports/<report_id>/token
Business Value / Developer Experience
It doesnt happen often but is very confusing for both developers and users when the failed to load report message shows up.
Acceptance Criteria
Should show reasonable error messages when an error occurs while loading a powerbi report 404 errors on /token should be handled