|
1 | | -# ❗ Error Codes |
| 1 | +--- |
| 2 | +icon: alert |
| 3 | +label: Error Codes |
| 4 | +order: 60 |
| 5 | +--- |
| 6 | + |
| 7 | +# Error Codes |
2 | 8 |
|
3 | 9 | This page documents common error codes returned by the CapMonster Cloud API along with their meanings and possible |
4 | 10 | solutions. |
5 | 11 |
|
6 | 12 | --- |
7 | 13 |
|
8 | | -## 🔐 Authentication & Authorization |
| 14 | +## Authentication & Authorization |
9 | 15 |
|
10 | 16 | ### `ERROR_KEY_DOES_NOT_EXIST` |
11 | 17 |
|
12 | | -**Invalid API Key** |
13 | | -The authorization key provided is not recognized or is in the wrong format. |
14 | | -→ Check your API key from the [CapMonster Dashboard](https://capmonster.cloud/). |
| 18 | +**Invalid API Key** |
| 19 | +The authorization key provided is not recognized or is in the wrong format. |
| 20 | +> Check your API key from the [CapMonster Dashboard](https://capmonster.cloud/). |
15 | 21 |
|
16 | 22 | ### `ERROR_ZERO_BALANCE` |
17 | 23 |
|
18 | | -**No Funds** |
19 | | -Your account balance is zero. |
20 | | -→ Add credits to continue solving captchas. |
| 24 | +**No Funds** |
| 25 | +Your account balance is zero. |
| 26 | +> Add credits to continue solving captchas. |
21 | 27 |
|
22 | 28 | ### `ERROR_IP_NOT_ALLOWED` |
23 | 29 |
|
24 | | -**IP Not Allowed** |
25 | | -Requests from your current IP address are not allowed. |
26 | | -→ Add your IP to the **trusted list** in your account settings. |
| 30 | +**IP Not Allowed** |
| 31 | +Requests from your current IP address are not allowed. |
| 32 | +> Add your IP to the **trusted list** in your account settings. |
27 | 33 |
|
28 | 34 | ### `ERROR_IP_BANNED` |
29 | 35 |
|
30 | | -**IP Banned** |
31 | | -Too many failed requests with incorrect API key from your IP. |
32 | | -→ Verify your key, wait a few minutes, and try again. |
| 36 | +**IP Banned** |
| 37 | +Too many failed requests with incorrect API key from your IP. |
| 38 | +> Verify your key, wait a few minutes, and try again. |
33 | 39 |
|
34 | 40 | ### `ERROR_IP_BLOCKED` |
35 | 41 |
|
36 | | -**Your IP is Blocked** |
37 | | -Your IP is permanently blocked due to repeated violations or suspicious activity. |
38 | | -→ Contact CapMonster support. |
| 42 | +**Your IP is Blocked** |
| 43 | +Your IP is permanently blocked due to repeated violations or suspicious activity. |
| 44 | +> Contact CapMonster support. |
39 | 45 |
|
40 | 46 | --- |
41 | 47 |
|
42 | | -## 🖼️ CAPTCHA File Issues |
| 48 | +## CAPTCHA File Issues |
43 | 49 |
|
44 | 50 | ### `ERROR_TOO_BIG_CAPTCHA_FILESIZE` |
45 | 51 |
|
46 | | -**Captcha Image Too Large** |
47 | | -The image size exceeds 500 KB. |
48 | | -→ Compress or resize the image before submitting. |
| 52 | +**Captcha Image Too Large** |
| 53 | +The image size exceeds 500 KB. |
| 54 | +> Compress or resize the image before submitting. |
49 | 55 |
|
50 | 56 | ### `ERROR_ZERO_CAPTCHA_FILESIZE` |
51 | 57 |
|
52 | | -**Captcha Image Too Small** |
53 | | -The image size is less than 100 bytes. |
54 | | -→ Ensure the image is valid and properly encoded. |
| 58 | +**Captcha Image Too Small** |
| 59 | +The image size is less than 100 bytes. |
| 60 | +> Ensure the image is valid and properly encoded. |
55 | 61 |
|
56 | 62 | ### `ERROR_CAPTCHA_UNSOLVABLE` |
57 | 63 |
|
58 | | -**Captcha Unsolvable** |
59 | | -The image may be too noisy, corrupted, or unsupported by the service. |
60 | | -→ Try another image or adjust your task. |
| 64 | +**Captcha Unsolvable** |
| 65 | +The image may be too noisy, corrupted, or unsupported by the service. |
| 66 | +> Try another image or adjust your task. |
61 | 67 |
|
62 | 68 | --- |
63 | 69 |
|
64 | | -## 🕓 Timing & Task States |
| 70 | +## Timing & Task States |
65 | 71 |
|
66 | 72 | ### `ERROR_NO_SUCH_CAPCHA_ID` / `WRONG_CAPTCHA_ID` |
67 | 73 |
|
68 | | -**Captcha ID Not Found** |
69 | | -No task found for the given ID, or the request was made after it expired. |
70 | | -→ Poll results within 5 minutes of task creation. |
| 74 | +**Captcha ID Not Found** |
| 75 | +No task found for the given ID, or the request was made after it expired. |
| 76 | +> Poll results within 5 minutes of task creation. |
71 | 77 |
|
72 | 78 | ### `CAPTCHA_NOT_READY` |
73 | 79 |
|
74 | | -**Captcha Not Ready** |
75 | | -The task is still being processed. |
76 | | -→ Retry after 1–2 seconds. |
| 80 | +**Captcha Not Ready** |
| 81 | +The task is still being processed. |
| 82 | +> Retry after 1-2 seconds. |
77 | 83 |
|
78 | 84 | ### `ERROR_RECAPTCHA_TIMEOUT` |
79 | 85 |
|
80 | | -**ReCAPTCHA Timeout** |
81 | | -Task solving took too long, possibly due to slow proxy or server issues. |
82 | | -→ Use a faster proxy or adjust timeout settings. |
| 86 | +**ReCAPTCHA Timeout** |
| 87 | +Task solving took too long, possibly due to slow proxy or server issues. |
| 88 | +> Use a faster proxy or adjust timeout settings. |
83 | 89 |
|
84 | 90 | --- |
85 | 91 |
|
86 | | -## 🌐 Domain & SiteKey Errors |
| 92 | +## Domain & SiteKey Errors |
87 | 93 |
|
88 | 94 | ### `ERROR_DOMAIN_NOT_ALLOWED` |
89 | 95 |
|
90 | | -**Domain Blocked** |
91 | | -CapMonster Cloud does not support solving captchas for the specified domain. |
92 | | -→ Use a different domain or provider. |
| 96 | +**Domain Blocked** |
| 97 | +CapMonster Cloud does not support solving captchas for the specified domain. |
| 98 | +> Use a different domain or provider. |
93 | 99 |
|
94 | 100 | ### `ERROR_RECAPTCHA_INVALID_SITEKEY` |
95 | 101 |
|
96 | | -**Invalid SiteKey** |
97 | | -The specified `websiteKey` is not valid. |
98 | | -→ Double-check the `data-sitekey` on the target page. |
| 102 | +**Invalid SiteKey** |
| 103 | +The specified `websiteKey` is not valid. |
| 104 | +> Double-check the `data-sitekey` on the target page. |
99 | 105 |
|
100 | 106 | ### `ERROR_RECAPTCHA_INVALID_DOMAIN` |
101 | 107 |
|
102 | | -**Invalid Domain** |
103 | | -The domain doesn’t match the sitekey's origin. |
104 | | -→ Ensure both belong to the same origin. |
| 108 | +**Invalid Domain** |
| 109 | +The domain doesn't match the sitekey's origin. |
| 110 | +> Ensure both belong to the same origin. |
105 | 111 |
|
106 | 112 | ### `ERROR_TOKEN_EXPIRED` |
107 | 113 |
|
108 | | -**Token Expired** |
109 | | -The challenge token has expired. |
110 | | -→ Create a new task with a fresh token. |
| 114 | +**Token Expired** |
| 115 | +The challenge token has expired. |
| 116 | +> Create a new task with a fresh token. |
111 | 117 |
|
112 | 118 | --- |
113 | 119 |
|
114 | | -## 📦 Task Definition Errors |
| 120 | +## Task Definition Errors |
115 | 121 |
|
116 | 122 | ### `ERROR_NO_SUCH_METHOD` |
117 | 123 |
|
118 | | -**Incorrect Method** |
| 124 | +**Incorrect Method** |
119 | 125 | The specified task type (in `type`) is invalid or unsupported. |
120 | 126 |
|
121 | 127 | ### `ERROR_TASK_NOT_SUPPORTED` |
122 | 128 |
|
123 | | -**Incorrect Task Type** |
124 | | -The task format is not recognized. |
125 | | -→ Review the `type` value and match it to the correct schema. |
| 129 | +**Incorrect Task Type** |
| 130 | +The task format is not recognized. |
| 131 | +> Review the `type` value and match it to the correct schema. |
126 | 132 |
|
127 | 133 | ### `ERROR_TASK_ABSENT` |
128 | 134 |
|
129 | | -**Missing Task Object** |
| 135 | +**Missing Task Object** |
130 | 136 | No `task` object was provided, or the JSON is malformed. |
131 | 137 |
|
132 | 138 | ### `ERROR_WRONG_USERAGENT` |
133 | 139 |
|
134 | | -**Invalid User-Agent** |
135 | | -The specified User-Agent string is no longer accepted. |
136 | | -→ Update to a current, valid browser UA string. |
| 140 | +**Invalid User-Agent** |
| 141 | +The specified User-Agent string is no longer accepted. |
| 142 | +> Update to a current, valid browser UA string. |
137 | 143 |
|
138 | 144 | --- |
139 | 145 |
|
140 | | -## 🌐 Proxy Errors |
| 146 | +## Proxy Errors |
141 | 147 |
|
142 | 148 | ### `ERROR_PROXY_CONNECT_REFUSED` |
143 | 149 |
|
144 | | -**Proxy Connection Failed** |
145 | | -Unable to reach proxy server. |
146 | | -→ Test your proxy or replace it. |
| 150 | +**Proxy Connection Failed** |
| 151 | +Unable to reach proxy server. |
| 152 | +> Test your proxy or replace it. |
147 | 153 |
|
148 | 154 | ### `ERROR_PROXY_BANNED` |
149 | 155 |
|
150 | | -**Proxy Banned** |
151 | | -The proxy IP is blocked by the target captcha provider. |
152 | | -→ Rotate your proxy or try a different provider. |
| 156 | +**Proxy Banned** |
| 157 | +The proxy IP is blocked by the target captcha provider. |
| 158 | +> Rotate your proxy or try a different provider. |
153 | 159 |
|
154 | 160 | --- |
155 | 161 |
|
156 | | -## ⚠️ Service Load & Rate Limits |
| 162 | +## Service Load & Rate Limits |
157 | 163 |
|
158 | 164 | ### `ERROR_TOO_MUCH_REQUESTS` |
159 | 165 |
|
160 | | -**Too Many Result Polls** |
161 | | -You polled for the task result too frequently. |
162 | | -→ Wait at least 2 seconds between requests. |
| 166 | +**Too Many Result Polls** |
| 167 | +You polled for the task result too frequently. |
| 168 | +> Wait at least 2 seconds between requests. |
163 | 169 |
|
164 | 170 | ### `ERROR_NO_SLOT_AVAILABLE` |
165 | 171 |
|
166 | | -**No Free Servers** |
167 | | -All recognition servers are currently busy. |
168 | | -→ Retry after a short delay. |
169 | | - |
170 | | -??? warning |
| 172 | +**No Free Servers** |
| 173 | +All recognition servers are currently busy. |
| 174 | +> Retry after a short delay. |
171 | 175 |
|
172 | | - These error codes are related to Capmonster.cloud and not created by us. |
| 176 | +!!!warning |
| 177 | +These error codes are related to Capmonster.cloud and not created by us. |
173 | 178 |
|
174 | | - You can reach the latest version from [here](https://docs.capmonster.cloud/docs/api/api-errors). |
| 179 | +You can reach the latest version from [here](https://docs.capmonster.cloud/docs/api/api-errors). |
| 180 | +!!! |
0 commit comments