If a CAPTCHA token expires or has already been used, keep the visitor’s form input, reset the CAPTCHA, and let them verify again. If your server never got an answer from the verifier, check your retry path first. A request that timed out on your side may already have reached the verifier. Treat that differently from a response that explicitly rejected the token.

For FCaptcha hosted by WebDecoy, a token is single-use and valid for five minutes. The verifier uses timeout-or-duplicate for both expiration and reuse. A checked box in the browser means the widget got a token. It is the server-side verification that tells your form handler whether to proceed. If you use another verifier, check its documentation for the token lifetime, error codes and retry rules before applying the examples below.

Find out where the token stopped working

Start with one failed submission on a form you maintain. Compare when the widget issued the token, when the form handler received the submission and when the handler called the verifier. If you did not record the widget timestamp, reproduce the flow in staging rather than guessing how long a visitor had the form open.

What you sawWhat to check next
The visitor verified, finished a long form and then submittedCheck whether the elapsed time was longer than the token lifetime. Try the same flow with verification closer to submission.
A fresh token worked once, but another handler call rejected itCheck whether a double-click, a browser retry or a second server path sent the same token for verification.
The handler sent the request but got no usable answerRecord an unknown verification outcome. Check whether the verifier supports a retry that returns the original result.
The verifier says no token was sentCheck whether the token field actually reached your handler. That is a different error from expiry or reuse.

Give each form submission an application-generated attempt ID and use it to connect these events. Log the form route, whether a token was present, whether the verifier responded, and the returned error code and mode when available. Keep the token, verifier secret and form contents out of these logs. If you can account for the first verification call, you have a better lead than the combined error code alone. If you cannot, leave the cause unknown.

Decide whether to reset or retry

After an explicit rejection, reset. Leave the visitor’s answers in the current form. Clear any cached token in your own client code and ask the visitor to complete a new check. With hosted FCaptcha, call FCaptcha.reset(widgetId) using the ID returned by FCaptcha.render. You can also use its expiredCallback to clear the state that says the form is ready to submit when the widget expires an unused token. A message such as “The verification expired. Your answers are still here. Please verify again.” gives the visitor a next step without blaming them.

After a network timeout, retry only under a documented contract. HTTP Semantics, section 9.2.2 cautions against automatically retrying a non-idempotent request unless the client knows it is safe to repeat or knows the first request was not applied. Hosted FCaptcha documents a retry for its server-side /siteverify endpoint: send the same token and the same idempotency_key for the same submission. Create the key before the first call. A retry with the same pair can return the first result instead of treating the token as reused. If verification remains unavailable, leave the submission pending or ask the visitor to try again; do not treat the widget checkmark as permission to proceed.

Keep the verification retry separate from the form’s side effect. The verifier can return the first answer again, but your application still owns whether it creates a second signup or sends another message. For a form that creates a record, use the application’s submission ID to recognize an already completed submission. Disabling the submit button while the request is in progress is helpful feedback, but it is not the server’s duplicate check.

Test the cases separately in staging

Use a staging form you control, with test data and no customer-facing side effects. Start with a fresh verification and a prompt submit. Record the server’s verdict and confirm the application carried out the test action once. Read the hosted FCaptcha guide for its expected hostname check and response fields. In observe mode, success: true can accompany would_reject: true for an invalid token; use that field to interpret the staging result, or use enforce mode on the staging site when testing the rejection path.

Then run these checks with fresh staging data for each case:

  1. Expiry: Complete the widget check and leave the form open beyond the documented lifetime. Confirm the form asks for a fresh check and preserves the answers. If the widget clears the token before it reaches the server, record that as a browser reset, not a server rejection.
  2. Duplicate submission: Repeat the same logical submission in your staging form. Check that the application performs the test action only once. Note whether the repeat stopped at the application or reached the verifier.
  3. Lost verification response: Use a staging stub to simulate a verifier that processes the first request but whose answer never reaches your application. Check that any supported retry reuses the original key and token, and that an unresolved timeout leaves the test action uncommitted.

Write down the expected and observed result for each check. The point is to find which layer needs fixing: the widget’s expired state, the handler’s verification retry, or the application’s duplicate check. If you’re evaluating a CAPTCHA for a new form, use the hosted FCaptcha setup guide to install the widget and server verifier on a staging site, then run the same checks before rollout.

Frequently Asked Questions

What does ‘CAPTCHA token expired or already used’ mean? +

On hosted FCaptcha, the same error code covers both cases. Check how long the form held the token and whether a verification attempt already ran. The error code alone cannot tell you which happened.

Can I retry CAPTCHA verification after a network timeout? +

Hosted FCaptcha supports a server retry using the same token and idempotency key for the same submission. If the verifier explicitly rejects the token as expired or reused, reset the widget and get a new token instead.

Why did the form fail after the CAPTCHA showed a checkmark? +

The checkmark is a browser-side result. Your form handler still needs a successful server-side verification before accepting the submission.

Want to see WebDecoy in action?

Get a personalized demo from our team.

Request Demo