Level 1
i have resolved the same error!
there is an error parsing the error response from backend, so if you will directly access the error object it will show that error in the js file
Please try to access the error.response in the catch that will show the actual error
it is due to the reason error is not handled in proper formate from the backend.
Hope this will helps someOne