Bot Prevention
Menu

Operate

Troubleshooting

Find the cause of a failed installation or an unexpected challenge, and what to send to support.

Where to look

  • Stack events: the failed resource names the failing operation, the AWS error code and a suggested fix. With the setup script, apply and check print the first failure.
  • Logs: the Outputs name the log groups. InstallerLogGroupName covers CloudFront and AWS WAF changes, SetupLogGroupName keys and assets, and ApiLogGroupName verification requests.
  • Alarms: ApiErrors and VerifyRefused notify NotificationEmail, if you set it.

Installation and updates

SymptomCause and fix
World does not know installation …The installation ID is mistyped. Copy it from your registration email.
Installation … belongs to another AWS accountCreate the stack in the AWS account that subscribed in AWS Marketplace.
The AWS Marketplace subscription of installation … is not activeCheck the subscription in AWS Marketplace. AWS can take a few minutes to confirm a new one; your setup page shows when it is active. Then retry the stack operation.
RP … is already used by another installationUse a separate Developer Portal RP for each website.
Installation … already uses a different app ID or RP IDEnter the app ID and RP ID that your setup page shows. To change them, contact botprevention@toolsforhumanity.com.
Could not register the World ID app with WorldWorld's backend was unreachable. Retry the stack operation later.
AlreadyExistsExceptionThe stack exists. Update it with the new template instead of creating another stack.
“already protected by a different Web ACL”The distribution has a Web ACL. Enter that Web ACL's ARN in the Web ACL ARN parameter, or detach it first.
“viewer-request” or “Lambda@Edge”A cache behavior has its own viewer function. Remove it from the application behaviors.
A Bot Control rule already existsRemove the existing AWS WAF Bot Control rule from the Web ACL first.
WAFFeatureNotIncludedInPricingPlanExceptionThe distribution uses a CloudFront flat-rate plan. Switch it to pay-as-you-go pricing.
IAM role creation failsThe deployment identity lacks IAM permissions. See IAM permissions.
A setup failure names a release fileA downloaded release file failed its digest check. Retry later, then contact support.

Visitors and your website

SymptomCause and fix
Nobody is challengedRollout is count, or no request matches the policy. Test with an always-verified path.
“Already verified”This World ID already verified in this window, in another browser or before cookies were cleared. The visitor can continue in the first browser, or verify in the next window.
/__wid/api/start returns 503The API cannot use the signing key. Check that RpSigningKeyArn names an enabled ECC_SECG_P256K1 key whose key policy allows IAM policies. KMS throttling also returns 503.
Verification fails after a key rotationDeveloper Portal still has the old signer address. Rotate the RP's signer to the new key.
Visitors get HTTP 429RequestsPerMinute is used up and the VerifyRefused alarm fires. Check for a flood, or raise the limit.
API calls of a single-page app fail with 403They get the challenge response. Reload the page on it. See Single-page apps.
Browser console reports blocked awswaf.com scriptsYour Content Security Policy blocks the AWS WAF script. Allow https://*.awswaf.com in script-src and connect-src.

Questions

Does World see my traffic?

No. CloudFront, AWS WAF and the verification API run in your account. Only proofs go to Developer Portal, from your verification API.

Can I protect several websites?

One installation protects one CloudFront distribution and all its hostnames. Each other distribution needs its own subscription and its own World ID RP.

What happens when World's registration page is unavailable?

Your installation keeps working. The registration page only collects your contact details after you subscribe.

Are search engines challenged?

Bot Control does not label verified bots, so the crawlers of large search engines are not challenged by its labels. Always-verified paths challenge every visitor, including crawlers.

Contact support

Email World ID support at botprevention@toolsforhumanity.com. Send the stack's Version, Release and InstallationId outputs and the failing stack event or log entry.