equinor / cc-components

Components and apps for CC.
MIT License
3 stars 0 forks source link

🎁: PowerBi report not published error message #945

Open Gustav-Eikaas opened 5 months ago

Gustav-Eikaas commented 5 months ago

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

Gustav-Eikaas commented 5 months ago

@EdwardBrunton Perhaps this is something you could look into?