Share service to return clear error messages
As a DE user
-
When I have used the share feature and received the validation e-mail with the subject ".Stat Data Explorer - Please allow us to verify your email address"
And I open the share link in the validation e-mail before validating my email address (I didn't open the validation link yet),
Then I obtain the following error message which is not clear enough to understand the cause of the problem.
"Error while fetching data: Cannot read property 'data' of undefined" is shown (http://dv-qa-oecd.redpelicans.com/?chartId=5).
Criteria:
The error message should be:
"Oops, this view isn't accessible yet. Make sure to validate the related email address first."
-
When I try to view a shared table/chart that hasn't been created yet
Then the following error is displayed that is not sufficiently meaningful:
"Error while fetching data: Request failed with status code 500" is shown (http://dv-qa-oecd.redpelicans.com/?chartId=5bc, http://dv-qa-oecd.redpelicans.com/?chartId=22a).
Criteria:
The error message should be:
"Oops, the view you are looking for doesn't exist. Make sure to use a correct and complete link."
Note: Translations of the error messages in the other languages are still to be provided.
Edited by Jens Dossé