friendly-challenge icon indicating copy to clipboard operation
friendly-challenge copied to clipboard

Error Code = response_invalid

Open nsc-novacens opened this issue 10 months ago • 1 comments

Hello,

i have an error on one of my website, shouldReject is always true, here the response :

object(FriendlyCaptcha \ SDK \ VerifyResult)#730(4) { ["strict": "FriendlyCaptcha\SDK\VerifyResult": private] => bool(false)["status"] => int(200)["response"] => object(FriendlyCaptcha \ SDK \ VerifyResponse)#754(3) { ["success"] => bool(false)["data"] => NULL["error"] => object(FriendlyCaptcha \ SDK \ VerifyResponseError)#753(2) { ["error_code"] => string(16)"**response_invalid**"["detail"] => string(7)"[**40501**]" } } ["errorCode"] => NULL }

I dont find any information about this error...

Can you help me ?

Thanks

NSC.

nsc-novacens avatar Feb 25 '25 10:02 nsc-novacens

Hi @nsc-novacens, could you maybe share an example value you are verifying?

Possibly there is an encoding issue somewhere along the way? Or maybe there is a bug in your code (e.g. you are sending undefined?)

(I think https://github.com/FriendlyCaptcha/friendly-captcha-javascript may be the correct place for this question, sorry for only noticing it now).

gzuidhof avatar Mar 13 '25 15:03 gzuidhof