You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Q: How can I display a custom error message when a user tries to access a resource for which they do not have permission?
A: The dataProvider.checkError() method must return a rejected Promise if the error raised by the API client is an authentication error. This rejected Promise must contain an error object with a message property. This message will be displayed to the user.
The text was updated successfully, but these errors were encountered:
From React-Admin newsletter:
The text was updated successfully, but these errors were encountered: