@rp is this a bug? I get 200 response if I pass an empty code
r
rp
06/05/2022, 5:32 PM
Can you try it with giving some random userInputCode instead?
Does that also return 200?
w
web3geek
06/05/2022, 5:38 PM
yes
r
rp
06/05/2022, 5:38 PM
The status code is 200?
w
web3geek
06/05/2022, 5:39 PM
yup
r
rp
06/05/2022, 5:39 PM
Hmm. That’s odd. We don’t send an empty json response back
Can you give the right userInputCode and show me the response?
w
web3geek
06/05/2022, 5:40 PM
okay. Let me check my code again😅
Hey @rp so the empty response was my issue but even for status = INCORRECT_USER_INPUT_CODE_ERROR the api response code is 200. can I override the response to say bad request
r
rp
06/06/2022, 4:02 AM
Yea. You can do that. Override the API, and send the response yourself