From 8b0a83f5f7fe049ee8d59cd50306927db9f3531b Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Mon, 3 Feb 2025 15:43:03 +0000 Subject: [PATCH 1/8] Workers AI erro table --- .../docs/workers-ai/workers-ai-errors.mdx | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/content/docs/workers-ai/workers-ai-errors.mdx diff --git a/src/content/docs/workers-ai/workers-ai-errors.mdx b/src/content/docs/workers-ai/workers-ai-errors.mdx new file mode 100644 index 00000000000000..eb55b368d9c458 --- /dev/null +++ b/src/content/docs/workers-ai/workers-ai-errors.mdx @@ -0,0 +1,26 @@ +--- +title: Errors +pcx_content_type: concept +sidebar: +--- + +Below is a list of Workers AI errors. + +| **Name** | **Internal Code** | **HTTP Code** | **Description** | +| ------------------------------------- | ----------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| no such model | 5007 | 400 | No such model ${model} or task | +| Invalid data | 5004 | 400 | Invalid data type for base64 input: ${type} | +| FinetuneMissingRequiredFiles | 3039 | 400 | Finetune is missing required files (model.safetensors and config.json) | +| IncompleteRequest | 3003 | 400 | Request is missing headers or body: {what} | +| Account Not Allowed For Private Model | 5018 | 403 | The account is not allowed to access this model. | +| Model Agreement | 5016 | 403 | When user has not agreed to Llama3.2 model terms | +| AccountBlocked | 3023 | 403 | Service unavailable for account | +| AccountNotAllowedForPrivateModel | 3041 | 403 | The account is not allowed to access this model. | +| Deprecated SDK version | 5019 | 405 | Request trying to use deprecated SDK version | +| LoRa Unsupported | 5005 | 405 | The model ${this.model} does not support LoRa inference | +| InvalidModelId | 3042 | 404 | The model name is invalid | +| RequestTooLarge | 3006 | 413 | Request is too large | +| Timeout | 3007 | 408 | Request timeout | +| Aborted | 3008 | 408 | Request was aborted | +| AccountLimited | 3036 | 429 | You have used up your daily free allocation of 10,000 neurons, please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | +| OutofCapacity | 3040 | 429 | No more colos to forward the request to | From c3bc01c11c699998325516d518e7fd6d6fa94273 Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Mon, 3 Feb 2025 15:56:33 +0000 Subject: [PATCH 2/8] minor edits --- .../docs/workers-ai/workers-ai-errors.mdx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/content/docs/workers-ai/workers-ai-errors.mdx b/src/content/docs/workers-ai/workers-ai-errors.mdx index eb55b368d9c458..357f10594b96d6 100644 --- a/src/content/docs/workers-ai/workers-ai-errors.mdx +++ b/src/content/docs/workers-ai/workers-ai-errors.mdx @@ -8,19 +8,19 @@ Below is a list of Workers AI errors. | **Name** | **Internal Code** | **HTTP Code** | **Description** | | ------------------------------------- | ----------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| no such model | 5007 | 400 | No such model ${model} or task | -| Invalid data | 5004 | 400 | Invalid data type for base64 input: ${type} | -| FinetuneMissingRequiredFiles | 3039 | 400 | Finetune is missing required files (model.safetensors and config.json) | -| IncompleteRequest | 3003 | 400 | Request is missing headers or body: {what} | -| Account Not Allowed For Private Model | 5018 | 403 | The account is not allowed to access this model. | -| Model Agreement | 5016 | 403 | When user has not agreed to Llama3.2 model terms | +| no such model | 5007 | 400 | No such model `${model}` or task | +| Invalid data | 5004 | 400 | Invalid data type for base64 input: `${type}` | +| FinetuneMissingRequiredFiles | 3039 | 400 | Finetune is missing required files `(model.safetensors and config.json) ` | +| IncompleteRequest | 3003 | 400 | Request is missing headers or body: `{what}` | +| Account Not Allowed For Private Model | 5018 | 403 | The account is not allowed to access this model | +| Model Agreement | 5016 | 403 | User has not agreed to Llama3.2 model terms | | AccountBlocked | 3023 | 403 | Service unavailable for account | -| AccountNotAllowedForPrivateModel | 3041 | 403 | The account is not allowed to access this model. | +| AccountNotAllowedForPrivateModel | 3041 | 403 | The account is not allowed to access this model | | Deprecated SDK version | 5019 | 405 | Request trying to use deprecated SDK version | -| LoRa Unsupported | 5005 | 405 | The model ${this.model} does not support LoRa inference | +| LoRa Unsupported | 5005 | 405 | The model `${this.model}` does not support LoRa inference | | InvalidModelId | 3042 | 404 | The model name is invalid | | RequestTooLarge | 3006 | 413 | Request is too large | | Timeout | 3007 | 408 | Request timeout | | Aborted | 3008 | 408 | Request was aborted | | AccountLimited | 3036 | 429 | You have used up your daily free allocation of 10,000 neurons, please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | -| OutofCapacity | 3040 | 429 | No more colos to forward the request to | +| OutofCapacity | 3040 | 429 | No more colomns to forward the request to | From f8e81c9f8a58f38e2f25134c950394e1e7ccc2e8 Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Mon, 3 Feb 2025 16:23:00 +0000 Subject: [PATCH 3/8] minor edits --- src/content/docs/workers-ai/workers-ai-errors.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/workers-ai/workers-ai-errors.mdx b/src/content/docs/workers-ai/workers-ai-errors.mdx index 357f10594b96d6..edfe9499abc2be 100644 --- a/src/content/docs/workers-ai/workers-ai-errors.mdx +++ b/src/content/docs/workers-ai/workers-ai-errors.mdx @@ -23,4 +23,4 @@ Below is a list of Workers AI errors. | Timeout | 3007 | 408 | Request timeout | | Aborted | 3008 | 408 | Request was aborted | | AccountLimited | 3036 | 429 | You have used up your daily free allocation of 10,000 neurons, please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | -| OutofCapacity | 3040 | 429 | No more colomns to forward the request to | +| OutofCapacity | 3040 | 429 | No more colos (datacenters) to forward the request to | From e9c9378a4ca546aabc884fc61432d8ae25b17c73 Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Mon, 3 Feb 2025 18:41:14 +0000 Subject: [PATCH 4/8] removed sidebar --- src/content/docs/workers-ai/workers-ai-errors.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/content/docs/workers-ai/workers-ai-errors.mdx b/src/content/docs/workers-ai/workers-ai-errors.mdx index edfe9499abc2be..4253789166dbf7 100644 --- a/src/content/docs/workers-ai/workers-ai-errors.mdx +++ b/src/content/docs/workers-ai/workers-ai-errors.mdx @@ -1,7 +1,6 @@ --- title: Errors pcx_content_type: concept -sidebar: --- Below is a list of Workers AI errors. From 81b3d94f7203da570154c200baa4c04e93ec2dd3 Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Tue, 4 Feb 2025 11:47:22 +0000 Subject: [PATCH 5/8] Update src/content/docs/workers-ai/workers-ai-errors.mdx monospace Co-authored-by: marciocloudflare <83226960+marciocloudflare@users.noreply.github.com> --- .../docs/workers-ai/workers-ai-errors.mdx | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/content/docs/workers-ai/workers-ai-errors.mdx b/src/content/docs/workers-ai/workers-ai-errors.mdx index 4253789166dbf7..090d1235a01b12 100644 --- a/src/content/docs/workers-ai/workers-ai-errors.mdx +++ b/src/content/docs/workers-ai/workers-ai-errors.mdx @@ -7,19 +7,19 @@ Below is a list of Workers AI errors. | **Name** | **Internal Code** | **HTTP Code** | **Description** | | ------------------------------------- | ----------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| no such model | 5007 | 400 | No such model `${model}` or task | -| Invalid data | 5004 | 400 | Invalid data type for base64 input: `${type}` | -| FinetuneMissingRequiredFiles | 3039 | 400 | Finetune is missing required files `(model.safetensors and config.json) ` | -| IncompleteRequest | 3003 | 400 | Request is missing headers or body: `{what}` | -| Account Not Allowed For Private Model | 5018 | 403 | The account is not allowed to access this model | -| Model Agreement | 5016 | 403 | User has not agreed to Llama3.2 model terms | -| AccountBlocked | 3023 | 403 | Service unavailable for account | -| AccountNotAllowedForPrivateModel | 3041 | 403 | The account is not allowed to access this model | -| Deprecated SDK version | 5019 | 405 | Request trying to use deprecated SDK version | -| LoRa Unsupported | 5005 | 405 | The model `${this.model}` does not support LoRa inference | -| InvalidModelId | 3042 | 404 | The model name is invalid | -| RequestTooLarge | 3006 | 413 | Request is too large | -| Timeout | 3007 | 408 | Request timeout | -| Aborted | 3008 | 408 | Request was aborted | -| AccountLimited | 3036 | 429 | You have used up your daily free allocation of 10,000 neurons, please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | -| OutofCapacity | 3040 | 429 | No more colos (datacenters) to forward the request to | +| no such model | `5007` | `400` | No such model `${model}` or task | +| Invalid data | `5004` | `400` | Invalid data type for base64 input: `${type}` | +| FinetuneMissingRequiredFiles | `3039` | `400` | Finetune is missing required files `(model.safetensors and config.json) ` | +| IncompleteRequest | `3003` | `400` | Request is missing headers or body: `{what}` | +| Account Not Allowed For Private Model | `5018` | `403` | The account is not allowed to access this model | +| Model Agreement | `5016` | `403` | User has not agreed to Llama3.2 model terms | +| AccountBlocked | `3023` | `403` | Service unavailable for account | +| AccountNotAllowedForPrivateModel | `3041` | `403` | The account is not allowed to access this model | +| Deprecated SDK version | `5019` | `405` | Request trying to use deprecated SDK version | +| LoRa Unsupported | `5005` | `405` | The model `${this.model}` does not support LoRa inference | +| InvalidModelId | `3042` | `404¨ | The model name is invalid | +| RequestTooLarge | `3006` | `413` | Request is too large | +| Timeout | `3007` | `408` | Request timeout | +| Aborted | `3008` | `408` | Request was aborted | +| AccountLimited | `3036` | `429` | You have used up your daily free allocation of 10,000 neurons. Please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | +| OutofCapacity | `3040` | `429` | No more data centers to forward the request to | From ab9007ed6c9774e213a2e11bc0058bd1b7508ffa Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Tue, 4 Feb 2025 12:15:41 +0000 Subject: [PATCH 6/8] Update workers-ai-errors.mdx monospace --- src/content/docs/workers-ai/workers-ai-errors.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/workers-ai/workers-ai-errors.mdx b/src/content/docs/workers-ai/workers-ai-errors.mdx index 090d1235a01b12..e102519bc5a5cc 100644 --- a/src/content/docs/workers-ai/workers-ai-errors.mdx +++ b/src/content/docs/workers-ai/workers-ai-errors.mdx @@ -17,7 +17,7 @@ Below is a list of Workers AI errors. | AccountNotAllowedForPrivateModel | `3041` | `403` | The account is not allowed to access this model | | Deprecated SDK version | `5019` | `405` | Request trying to use deprecated SDK version | | LoRa Unsupported | `5005` | `405` | The model `${this.model}` does not support LoRa inference | -| InvalidModelId | `3042` | `404¨ | The model name is invalid | +| InvalidModelId | `3042` | `404` | The model name is invalid | | RequestTooLarge | `3006` | `413` | Request is too large | | Timeout | `3007` | `408` | Request timeout | | Aborted | `3008` | `408` | Request was aborted | From 932d8af34e1fec14527587a4037c2a7699156e24 Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Tue, 4 Feb 2025 17:23:56 +0000 Subject: [PATCH 7/8] Making sentences --- .../docs/workers-ai/workers-ai-errors.mdx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/content/docs/workers-ai/workers-ai-errors.mdx b/src/content/docs/workers-ai/workers-ai-errors.mdx index 4253789166dbf7..a39fe5398692e5 100644 --- a/src/content/docs/workers-ai/workers-ai-errors.mdx +++ b/src/content/docs/workers-ai/workers-ai-errors.mdx @@ -7,19 +7,19 @@ Below is a list of Workers AI errors. | **Name** | **Internal Code** | **HTTP Code** | **Description** | | ------------------------------------- | ----------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| no such model | 5007 | 400 | No such model `${model}` or task | +| No such model | 5007 | 400 | No such model `${model}` or task | | Invalid data | 5004 | 400 | Invalid data type for base64 input: `${type}` | -| FinetuneMissingRequiredFiles | 3039 | 400 | Finetune is missing required files `(model.safetensors and config.json) ` | -| IncompleteRequest | 3003 | 400 | Request is missing headers or body: `{what}` | -| Account Not Allowed For Private Model | 5018 | 403 | The account is not allowed to access this model | -| Model Agreement | 5016 | 403 | User has not agreed to Llama3.2 model terms | -| AccountBlocked | 3023 | 403 | Service unavailable for account | -| AccountNotAllowedForPrivateModel | 3041 | 403 | The account is not allowed to access this model | +| Finetune missing required files | 3039 | 400 | Finetune is missing required files `(model.safetensors and config.json) ` | +| Incomplete request | 3003 | 400 | Request is missing headers or body: `{what}` | +| Account not allowed for private model | 5018 | 403 | The account is not allowed to access this model | +| Model agreement | 5016 | 403 | User has not agreed to Llama3.2 model terms | +| Account blocked | 3023 | 403 | Service unavailable for account | +| Account not allowed for private model | 3041 | 403 | The account is not allowed to access this model | | Deprecated SDK version | 5019 | 405 | Request trying to use deprecated SDK version | -| LoRa Unsupported | 5005 | 405 | The model `${this.model}` does not support LoRa inference | -| InvalidModelId | 3042 | 404 | The model name is invalid | -| RequestTooLarge | 3006 | 413 | Request is too large | +| LoRa unsupported | 5005 | 405 | The model `${this.model}` does not support LoRa inference | +| Invalid model Id | 3042 | 404 | The model name is invalid | +| Request too large | 3006 | 413 | Request is too large | | Timeout | 3007 | 408 | Request timeout | | Aborted | 3008 | 408 | Request was aborted | -| AccountLimited | 3036 | 429 | You have used up your daily free allocation of 10,000 neurons, please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | -| OutofCapacity | 3040 | 429 | No more colos (datacenters) to forward the request to | +| Account limited | 3036 | 429 | You have used up your daily free allocation of 10,000 neurons, please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | +| Out of capacity | 3040 | 429 | No more colos (datacenters) to forward the request to | From 02bfc4da98eeb790ab839a9558ccd49e72540e58 Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Tue, 4 Feb 2025 17:30:49 +0000 Subject: [PATCH 8/8] Making sentences --- .../docs/workers-ai/workers-ai-errors.mdx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/content/docs/workers-ai/workers-ai-errors.mdx b/src/content/docs/workers-ai/workers-ai-errors.mdx index cef9ba9cdf3a47..d0aa9070e471b4 100644 --- a/src/content/docs/workers-ai/workers-ai-errors.mdx +++ b/src/content/docs/workers-ai/workers-ai-errors.mdx @@ -7,19 +7,19 @@ Below is a list of Workers AI errors. | **Name** | **Internal Code** | **HTTP Code** | **Description** | | ------------------------------------- | ----------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| no such model | `5007` | `400` | No such model `${model}` or task | +| No such model | `5007` | `400` | No such model `${model}` or task | | Invalid data | `5004` | `400` | Invalid data type for base64 input: `${type}` | -| FinetuneMissingRequiredFiles | `3039` | `400` | Finetune is missing required files `(model.safetensors and config.json) ` | -| IncompleteRequest | `3003` | `400` | Request is missing headers or body: `{what}` | -| Account Not Allowed For Private Model | `5018` | `403` | The account is not allowed to access this model | -| Model Agreement | `5016` | `403` | User has not agreed to Llama3.2 model terms | -| AccountBlocked | `3023` | `403` | Service unavailable for account | -| AccountNotAllowedForPrivateModel | `3041` | `403` | The account is not allowed to access this model | +| Finetune missing required files | `3039` | `400` | Finetune is missing required files `(model.safetensors and config.json) ` | +| Incomplete request | `3003` | `400` | Request is missing headers or body: `{what}` | +| Account not allowed for private model | `5018` | `403` | The account is not allowed to access this model | +| Model agreement | `5016` | `403` | User has not agreed to Llama3.2 model terms | +| Account blocked | `3023` | `403` | Service unavailable for account | +| Account not allowed for private model | `3041` | `403` | The account is not allowed to access this model | | Deprecated SDK version | `5019` | `405` | Request trying to use deprecated SDK version | -| LoRa Unsupported | `5005` | `405` | The model `${this.model}` does not support LoRa inference | -| InvalidModelId | `3042` | `404` | The model name is invalid | -| RequestTooLarge | `3006` | `413` | Request is too large | +| LoRa unsupported | `5005` | `405` | The model `${this.model}` does not support LoRa inference | +| Invalid model ID | `3042` | `404` | The model name is invalid | +| Request too large | `3006` | `413` | Request is too large | | Timeout | `3007` | `408` | Request timeout | | Aborted | `3008` | `408` | Request was aborted | -| AccountLimited | `3036` | `429` | You have used up your daily free allocation of 10,000 neurons. Please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | -| OutofCapacity | `3040` | `429` | No more data centers to forward the request to | +| Account limited | `3036` | `429` | You have used up your daily free allocation of 10,000 neurons. Please upgrade to Cloudflare's Workers Paid plan if you would like to continue usage. | +| Out of capacity | `3040` | `429` | No more data centers to forward the request to |