Returning a GeneralErrorResponse from the signInUp...
# general
d
Returning a GeneralErrorResponse from the signInUpPOST overridden method under the ThirdParty recipe does not seems to work , the client side login stuck waiting for a response. (using node sdk for backend and react for front end). Is there something which needs to be configured on the frontend
r
Hey @doraig
Does the api call in the network section of the dev tools show a 200 response from the api? If so, what’s the response body?
d
Oops, my bad, the GeneralErrorResponse object i did not add the status as GENERAL_ERROR , I was only including the message attribute. I just fixed it, and tried it again, i got the message on the UI 😃.
r
Okay nice! I guess it’s unexpected that you also need to add the status given that you are making a GeneralErrorRespinse. Maybe you can open an issue about it and we can make the interface better. Thanks
4 Views