vue-recaptcha-v3 icon indicating copy to clipboard operation
vue-recaptcha-v3 copied to clipboard

Error "incorrect-captcha-sol" and "timeout-or-duplicate"

Open lferna opened this issue 3 years ago • 3 comments

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.

lferna avatar Sep 29 '21 13:09 lferna

I have the same problem :(

Chinaski97 avatar Feb 04 '22 21:02 Chinaski97

@lferna Did find any solution?

MmKargar avatar Nov 03 '22 07:11 MmKargar

@lferna Did find any solution?

Nope 😞

lferna avatar Nov 06 '22 14:11 lferna