<@498057949541826571> is this a bug? I get 200 res...
# support-questions
w
@rp is this a bug? I get 200 response if I pass an empty code
r
Can you try it with giving some random userInputCode instead?
Does that also return 200?
w
yes
r
The status code is 200?
w
yup
r
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
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
Yea. You can do that. Override the API, and send the response yourself
w
Thanks. got it
2 Views