I have a login form currently that may get recaptcha errors for various reasons
Here are some error codes that are possible
What do I tell the user when I run into one of these errors?
I have a login form currently that may get recaptcha errors for various reasons
Here are some error codes that are possible
What do I tell the user when I run into one of these errors?
A clear "it depends".
An error like "secrets error" is broadcasting "the admin doesn't know how to implement this feature correctly" to those in the know, while offering precious little information to the user as to what they can do and what to expect. Being more generic and saying "Server error. Please try again in a few hours." would give the user a much clearer picture: It's not their fault, and they'll have to be patient for a while until it's fixed.
However, for userside errors, a bit more specificity is appreciated: If the captcha fails because of a timeout, a message like "Captcha timeout. Please try again" would give an indication to the user of "ah, I have to be faster finding my password this round".
Clear communication is very important while explaining the error cause. I'd advise you to: