<@498057949541826571> is this a bug? I get 200 res...
# support-questions-legacy
s
@rp_st 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?
s
yes
r
The status code is 200?
s
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?
s
okay. Let me check my code again😅
Hey @rp_st 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
s
Thanks. got it
4 Views