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
As per the doc on https://github.com/marmelab/react-admin/blob/master/docs/DataProviders.md
"Error Format
When the API backend returns an error, the Data Provider should return a rejected Promise containing an Error object. This object should contain a status property with the HTTP response code (404, 500, etc.). React-admin inspects this error code, and uses it for authentication (in case of 401 or 403 errors). Besides, react-admin displays the error message on screen in a temporary notification."
The data provider isn't returning a rejected promise.
react-admin version 3.3.1
ra-data-feathers version 2.7.0
Refer the code below
The text was updated successfully, but these errors were encountered:
As per the doc on https://github.com/marmelab/react-admin/blob/master/docs/DataProviders.md
"Error Format
When the API backend returns an error, the Data Provider should return a rejected Promise containing an Error object. This object should contain a status property with the HTTP response code (404, 500, etc.). React-admin inspects this error code, and uses it for authentication (in case of 401 or 403 errors). Besides, react-admin displays the error message on screen in a temporary notification."
The data provider isn't returning a rejected promise.
react-admin version 3.3.1
ra-data-feathers version 2.7.0
Refer the code below
The text was updated successfully, but these errors were encountered: