|
5 | 5 | order: 4 |
6 | 6 | --- |
7 | 7 |
|
8 | | -This page documents error codes returned by Queues when using the [Workers API](/r2/api/workers/). |
| 8 | +This page documents error codes returned by Queues when using the [Queues Cloudflare API](/api/resources/queues/methods/create/). |
9 | 9 |
|
10 | 10 | ## How errors are returned |
11 | 11 |
|
@@ -46,20 +46,20 @@ For the [Cloudflare API via HTTP](/api/resources/queues/subresources/messages/), |
46 | 46 |
|
47 | 47 | ### Client side errors |
48 | 48 |
|
49 | | -| Error Code | HTTP Status | Details | Recommended actions | |
50 | | -| ---------- | ------------------------ | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | --- | |
51 | | -| 10104 | QueueNotFound | Queue does not exist | Check for existence of `queue_id` in [List Queues endpoint](/api/resources/queues/) | |
52 | | -| 10105 | FeatureFlagNotSet | Feature flag not set | Ensure that feature flag is set past `February 17, 2026` compatibility date | |
53 | | -| 10106 | Unauthorized | Unauthorized request | ?? | |
54 | | -| 10107 | QueueIDMalformed | Malformed queue ID in the request URL | Ensure `queue_id` matches response for that queue from [List Queues endpoint](/api/resources/queues/) | | |
55 | | -| 10201 | ClientDisconnected | Client disconnected during request processing | ?? | |
56 | | -| 10202 | BatchDelayInvalid | Invalid batch delay | Ensure that `batch_delay` is within 1 and 86400 seconds | |
57 | | -| 10203 | MessageMetadataInvalid | Invalid message metadata (includes invalid content type and invalid delay) | ?? | |
58 | | -| 10204 | MessageSizeOutOfBounds | Message size out of bounds | Ensure that message size is within 0 and 128 KB | |
59 | | -| 10205 | BatchSizeOutOfBounds | Batch size out of bounds | Ensure that batch size is within 0 and 256 KB | |
60 | | -| 10206 | BatchCountOutOfBounds | Batch count out of bounds | Ensure that batch count is within 0 and 100 messages | |
61 | | -| 10207 | JSONRequestBodyInvalid | API Gateway request JSON body does not match expected schema | Ensure that JSON body matches the expected schema | |
62 | | -| 10208 | JSONRequestBodyMalformed | API Gateway request body is not valid JSON | REST API request body is not valid. Look at error message for additional details. | |
| 49 | +| Error Code | HTTP Status | Details | Recommended actions | |
| 50 | +| ---------- | ------------------------ | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | |
| 51 | +| 10104 | QueueNotFound | Queue does not exist | Check for existence of `queue_id` in [List Queues endpoint](/api/resources/queues/) | |
| 52 | +| 10105 | FeatureFlagNotSet | Feature flag not set | Ensure that feature flag is set past `February 17, 2026` compatibility date | |
| 53 | +| 10106 | Unauthorized | Unauthorized request | Ensure that current user has permission to push to that queue. | |
| 54 | +| 10107 | QueueIDMalformed | The queue ID in the request URL is not a valid queue identifier | Ensure that 'queue_id` contains only alphanumeric characters. | | |
| 55 | +| 10201 | ClientDisconnected | Client disconnected during request processing | ?? | |
| 56 | +| 10202 | BatchDelayInvalid | Invalid batch delay | Ensure that `batch_delay` is within 1 and 86400 seconds | |
| 57 | +| 10203 | MessageMetadataInvalid | Invalid message metadata (includes invalid content type and invalid delay) | Ensure `contentType` is one of `text`, `bytes`, `json`, or `v8`. Ensure the message delay does not exceed the [maximum delivery delay](/queues/configuration/javascript-apis/#extracting-body-content-type-and-timestamp) | |
| 58 | +| 10204 | MessageSizeOutOfBounds | Message size out of bounds | Ensure that message size is within 0 and 128 KB | |
| 59 | +| 10205 | BatchSizeOutOfBounds | Batch size out of bounds | Ensure that batch size is within 0 and 256 KB | |
| 60 | +| 10206 | BatchCountOutOfBounds | Batch count out of bounds | Ensure that batch count is within 0 and 100 messages | |
| 61 | +| 10207 | JSONRequestBodyInvalid | API Gateway request JSON body does not match expected schema | Ensure that JSON body matches the expected schema | |
| 62 | +| 10208 | JSONRequestBodyMalformed | API Gateway request body is not valid JSON | REST API request body is not valid. Look at error message for additional details. | |
63 | 63 |
|
64 | 64 | ### 429 type errors |
65 | 65 |
|
|
0 commit comments