Register Error: undefined undefined
ccfiel opened this issue · 4 comments
ccfiel commented
I tried to register an existing email but the error is
Register Error: undefined undefined
The error should be
User with that email already exists
dternyak commented
You probably didn't have the backend server running - this occurs when the FE is unable to get the response.
If you think its a different reason, please post javascript stacktrace.
ccfiel commented
Hello @dternyak,
The backend server is running http://i.imgur.com/zQiM84F.png
action @ 08:07:20.162 @@router/LOCATION_CHANGE
action @ 08:07:20.177 @@router/LOCATION_CHANGE
action @ 08:07:20.249 @@router/LOCATION_CHANGE
[HMR] connected
action @ 08:07:25.285 @@router/LOCATION_CHANGE
action @ 08:07:37.057 REGISTER_USER_REQUEST
action @ 08:07:37.538 REGISTER_USER_SUCCESS
action @ 08:07:37.556 @@router/LOCATION_CHANGE
action @ 08:07:37.565 FETCH_PROTECTED_DATA_REQUEST
action @ 08:07:37.567 @@router/LOCATION_CHANGE
action @ 08:07:37.622 RECEIVE_PROTECTED_DATA
action @ 08:07:41.417 LOGOUT_USER
action @ 08:07:41.420 @@router/LOCATION_CHANGE
action @ 08:07:41.422 @@router/LOCATION_CHANGE
action @ 08:07:41.495 @@router/LOCATION_CHANGE
action @ 08:07:44.513 @@router/LOCATION_CHANGE
action @ 08:07:52.196 REGISTER_USER_REQUEST
prev state Object
action Object
next state Object
Failed to load resource: the server responded with a status of 409 (CONFLICT)
action @ 08:07:52.518 REGISTER_USER_FAILURE
prev state Object
action Object
next state Object```
dternyak commented
Ah, I see now. Should be a simple fix. If you would like to propose a PR I will happily merge after reviewing. The fix for this could be done on either the front-end or the backend, and I'm fine with whatever way you implement it.