vue-recaptcha-v3
vue-recaptcha-v3 copied to clipboard
Error "incorrect-captcha-sol" and "timeout-or-duplicate"
Hi,
I'm using vue-recaptcha-v3 1.9.0 in a production Vue app.
Sometimes, i'm getting this error when we validate the token:
"incorrect-captcha-sol"
The token is significantly different. For instance, this is a valid token:
"03AGdB...."
But the invalid token starts with: "HFb2Z...."
I have no idea why is wrong.
But sometimes, there are another problem with "timeout-or-duplicate" error.
I don't think the problem is a "timeout" because the token is generated when the user clicks the button and the request takes miliseconds. On the other hand, i find the token once in the logs, so if it was a duplicate, it should come out repeated in the logs.
This is the code:
import { VueReCaptcha } from 'vue-recaptcha-v3'
...
async findMovements (clear: boolean) {
const token = await this.$recaptcha('movements')
const request = {
clear,
callback: () => Utils.modals.showErrorModal({}),
token
}
await this.$store.dispatch('movements/findMovements', request)
},
The secret keys are correct. And the most important, only fails "some times" but not every day and not always.
Thanks in advance.
I have the same problem :(
@lferna Did find any solution?
@lferna Did find any solution?
Nope 😞