-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on fail I'm not getting error response's data #108
Comments
I am facing the same problem. I also tried to get that in the promise's So currently, I don't see any way to get the actual response in case of failures. |
I ended up using It's not a solution but a workaround to make my project workable till I get a proper solution.
|
General solution: |
Check my answer on #87 |
u can grab it in the component by doing
the value returned gives
im also on version 4.0.1 |
Has anyone figured this out? The |
I am trying to use this lib for my dummy app which has basic login functionality, I'm using https://reqres.in for mocking the API.
now on LOGIN_UNSUCCESSFUL response the API sends
{error: 'user not found'}
, but I am not gettingerror.response.data
in dispatched action.My setup
the only keys that are present in action object which gets dispatched on failure are
['message', 'name', 'description', 'fileName', 'lineNumber', 'columnNumber', 'stack', 'config', 'code']
The text was updated successfully, but these errors were encountered: