0

I am using magento 2.4.7 but when i enable repaptcha it works fine on the website but in APIs it gives me an error

"message": "ReCaptcha validation failed, please try again",

I want to enable Recatcha only on webiste not on Mobile App / APIs ?

How can i do that please help

1 Answer 1

1

You need to be add the integration token into the header.

I replicate this error on my postman on the customer login api.

enter image description here

Before adding integration token it give us ReCaptcha validation failed.

After setting the integration token into the headers, it's generate the customer token.

enter image description here

8
  • Thanks, But what if i want it on edit account api there i need customer token to update account !! Commented Jul 3 at 11:30
  • It still giving the same error Commented Jul 3 at 12:01
  • Can you double check your integration token is correct ? Commented Jul 3 at 13:00
  • Yes these are correct !! Commented Jul 3 at 13:36
  • Can you share your postman collection request once ? Also Signature method would be HMAC-SHA256 Add authorization data to - Request Headers Commented Jul 4 at 5:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.