When I try to check an action in recaptcha v3 and the action name contains a โ-โ character, I get the following error:
Invalid action name, may only include "A-Za-z/_". Do not include user-specific information.

I can see how that message might be confusing. Where it's stating A-Z, it means the characters A through to Z. The - is indicating the range and is not a valid character for the action name.
From https://developers.google.com/recaptcha/docs/v3
Actions may only contain alphanumeric characters and slashes, and must not be user-specific.
For example:
โ Invalid actions: user-login, comment-add, add-to-cart
โ๏ธ Valid actions: user/login, comment/add, add_to_cart
Thank you for your reply.
The fact is why the โ-" sign is not allowed.
I think that in many projects keys with a โ-โ sign are used, which need to be checked.
For example, in our project, when the current path to a location changes, we get a new one and try to check it. But many of them have a โ-โ sign.
Most helpful comment
Thank you for your reply.
The fact is why the โ-" sign is not allowed.
I think that in many projects keys with a โ-โ sign are used, which need to be checked.
For example, in our project, when the current path to a location changes, we get a new one and try to check it. But many of them have a โ-โ sign.