Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for SmartCaptcha
    • Resolving the `Key cannot be used on the domain captcha-api.yandex.ru` error
    • How to get information about the number of challenges used over a certain period
    • Lifetime of the token returned by the `check` method in SmartCaptcha

In this article:

  • Issue description
  • Solution
  1. SmartCaptcha
  2. Resolving the `Key cannot be used on the domain captcha-api.yandex.ru` error

Fixing the Key cannot be used on the captcha-api.yandex.ru domain error

Written by
Yandex Cloud
Updated at December 17, 2025
  • Issue description
  • Solution

Issue descriptionIssue description

When testing or setting up SmartCaptcha locally, you get this error:

Error: Key cannot be used on the captcha-api.yandex.ru domain

SolutionSolution

Check the list of addresses and names you use when debugging SmartCaptcha. Typically, such an error means there are now local addresses in the host list.

Add localhost and 127.0.0.1 to the host list in the SmartCaptcha settings.

Was the article helpful?

Previous
All solutions for SmartCaptcha
Next
How to get information about the number of challenges used over a certain period
© 2025 Direct Cursus Technology L.L.C.