This section provides details for each validation type for EdgeWorker code bundles. You get these response values when you run the Validate an EdgeWorkers code bundle operation.
Type | Description |
---|---|
Error types | |
ACCESS_TOKEN_EXPIRED | The EdgeKV access token is expired. |
ACCESS_TOKEN_INVALID | The EdgeKV access token is invalid. |
ACCESS_TOKEN_MISSING | The EdgeKV access token is missing from the EdgeWorkers code bundle. |
EDGEKV_FILE_MISSING | To use an import statement for edgekv.js add the edgekv.js file to the EdgeWorkers code bundle. |
EDGEKV_TOKENS_FILE_MISSING | To use an import statement for edgekv_tokens.js add the edgekv_tokens.js file to the EdgeWorkers code bundle. |
EMPTY_TARBALL | The EdgeWorkers code bundle is empty. Update the code bundle and upload it again. |
INVALID_EDGEKV_IMPORTS | The edgekv.js helper library is missing from the EdgeWorkers code bundle. |
INVALID_GZIP_FORMAT | The GZIP format of the EdgeWorkers code bundle is invalid. Review the code bundle for errors and upload it again. |
INVALID_MANIFEST | The EdgeWorkers code bundle contains an invalid manifest file. Review the code bundle for errors and upload it again. |
INVALID_TAR_ARCHIVE | The TAR archive of the EdgeWorkers code bundle is invalid. Review the code bundle for errors and upload it again. |
MAX_COMPRESSED_SIZE_EXCEEDED | The compressed size of the EdgeWorkers code bundle is invalid. Review the code bundle for errors and upload it again. |
MAX_UNCOMPRESSED_SIZE_EXCEEDED | The GZIP format of the EdgeWorkers code bundle is invalid. Review the code bundle for errors and upload it again. |
MISSING_MANDATORY_FILES | The EdgeWorkers code bundle is missing mandatory files. Review the contents of the code bundle and upload it again. |
STATIC_VALIDATION_FAILED | The EdgeWorkers code bundle failed static validation. Review the code bundle for errors and upload it again. |
Warning types | |
ACCESS_TOKEN_EXPIRING_SOON | The EdgeKV access token in your EdgeWorkers code bundle will expire soon. For more information refer to Generate and retrieve EdgeKV access tokens. |