Skip to content

Commit db4124d

Browse files
KianNHpatriciasantaanawindsurf-bot[bot]
authored andcommitted
[Turnstile] Add 400020, 400030 and 400040 error codes (cloudflare#22827)
* [Turnstile] Add 400020, 400030 and 400040 error codes * Update src/content/docs/turnstile/troubleshooting/client-side-errors/error-codes.mdx Co-authored-by: windsurf-bot[bot] <189301087+windsurf-bot[bot]@users.noreply.github.com> --------- Co-authored-by: Patricia Santa Ana <[email protected]> Co-authored-by: windsurf-bot[bot] <189301087+windsurf-bot[bot]@users.noreply.github.com>
1 parent c749868 commit db4124d

File tree

1 file changed

+5
-3
lines changed
  • src/content/docs/turnstile/troubleshooting/client-side-errors

1 file changed

+5
-3
lines changed

src/content/docs/turnstile/troubleshooting/client-side-errors/error-codes.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ title: Error codes
33
pcx_content_type: troubleshooting
44
sidebar:
55
order: 2
6-
76
---
87

9-
import { GlossaryTooltip, Render } from "~/components"
8+
import { GlossaryTooltip, Render } from "~/components";
109

1110
An error callback will retrieve an error code as its first parameter. Error codes are separated by the first three numbers into `error-code` families.
1211

@@ -25,14 +24,17 @@ When an error code is marked with `***`, it means that the remaining numbers can
2524
| `110200` | Unknown domain: Domain not allowed. | No | Turnstile was used on a domain that was not allowed for this widget to be used on. Ensure that the domain is allowed in the widget configuration via the [Cloudflare dashboard](https://dash.cloudflare.com/). |
2625
| `110420` | Invalid action: This error occurs when an unsupported or incorrectly formatted action is submitted. | No | Ensure that the action conforms to the specified structure and contains only valid characters and adheres to the documented length limitations. Refer to [client-side configurations](/turnstile/get-started/client-side-rendering/#configurations) for more information. |
2726
| `110430` | Invalid cData: This error in Turnstile refers to an issue encountered when processing Custom Data (cData). This error occurs when the cData provided does not adhere to the expected format or contains invalid characters. | No | Ensure that the cData conforms to the specified structure and contains only valid characters and adheres to the documented length limitations. Refer to [client-side configurations](/turnstile/get-started/client-side-rendering/#configurations) for more information. |
28-
| `110500` | Unsupported browser: The visitor is using an unsupported browser. | No | Encourage the visitor to upgrade their browser or verify otherwise. Refer to [Supported browsers](/cloudflare-challenges/reference/supported-browsers/) for more information. |
27+
| `110500` | Unsupported browser: The visitor is using an unsupported browser. | No | Encourage the visitor to upgrade their browser or verify otherwise. Refer to [Supported browsers](/cloudflare-challenges/reference/supported-browsers/) for more information. |
2928
| `110510` | Inconsistent user-agent: The visitor provided an inconsistent user-agent throughout the process of solving Turnstile. | No | The visitor may have browser extensions or settings enabled to spoof their user-agent and should disable them to proceed. |
3029
| `11060*` | Challenge timed out: The visitor took too long to solve the challenge and the challenge timed out. | Yes | Retry the challenge. The visitor also may have a system clock set to a wrong date. |
3130
| `11062*` | Challenge timed out: This error is for visible mode only. The visitor took too long to solve the interactive challenge and the challenge became outdated. | Yes | Reset the widget and re-initialize it to give the visitor the chance to solve the widget again. |
3231
| `120***` | Internal Errors for Cloudflare Employees. | No | Only encountered by Cloudflare Support Engineers while debugging. |
3332
| `200010` | Invalid caching: Some portion of Turnstile was accidentally cached. | No | Encourage the visitor to clear their cache. |
3433
| `200100` | Time problem: The visitor's clock is incorrect. | No | Encourage the visitor to set their clock to the correct time. |
3534
| `300***` | Generic client execution error: An unspecified error occurred in the visitor while they were solving a challenge. | Yes | Potentially an automated visitor. Retry the challenge. Upon multiple subsequent failures, verify the visitor otherwise. |
35+
| `400020` | Invalid sitekey: The sitekey is invalid or does not exist. | No | Ensure that the sitekey is valid and exists. |
36+
| `400030` | Invalid size: The provided size is not a valid option. | No | Ensure that the size is one of the [valid options](/turnstile/get-started/client-side-rendering/#widget-size). |
37+
| `400040` | Invalid theme: The provided theme is not a valid option. | No | Ensure that the theme is either `light`, `dark` or `auto`. |
3638
| `600***` | Challenge execution failure: A visitor failed to solve a Turnstile Challenge. Also used by [failing testing sitekey](/turnstile/troubleshooting/testing/). | Yes | Potentially an automated visitor. Retry the challenge. Upon multiple subsequent failures, verify the visitor otherwise. |
3739

3840
## Error code `300***` and `600***`

0 commit comments

Comments
 (0)