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.

TypeDescription
Error types
ACCESS_TOKEN_EXPIREDThe EdgeKV access token is expired.
ACCESS_TOKEN_INVALIDThe EdgeKV access token is invalid.
ACCESS_TOKEN_MISSINGThe EdgeKV access token is missing from the EdgeWorkers code bundle.
EDGEKV_FILE_MISSINGTo use an import statement for edgekv.js add the edgekv.js file to the EdgeWorkers code bundle.
EDGEKV_TOKENS_FILE_MISSINGTo use an import statement for edgekv_tokens.js add the edgekv_tokens.js file to the EdgeWorkers code bundle.
EMPTY_TARBALLThe EdgeWorkers code bundle is empty. Update the code bundle and upload it again.
INVALID_EDGEKV_IMPORTSThe edgekv.js helper library is missing from the EdgeWorkers code bundle.
INVALID_GZIP_FORMATThe GZIP format of the EdgeWorkers code bundle is invalid. Review the code bundle for errors and upload it again.
INVALID_MANIFESTThe EdgeWorkers code bundle contains an invalid manifest file. Review the code bundle for errors and upload it again.
INVALID_TAR_ARCHIVEThe TAR archive of the EdgeWorkers code bundle is invalid. Review the code bundle for errors and upload it again.
MAX_COMPRESSED_SIZE_EXCEEDEDThe compressed size of the EdgeWorkers code bundle is invalid. Review the code bundle for errors and upload it again.
MAX_UNCOMPRESSED_SIZE_EXCEEDEDThe GZIP format of the EdgeWorkers code bundle is invalid. Review the code bundle for errors and upload it again.
MISSING_MANDATORY_FILESThe EdgeWorkers code bundle is missing mandatory files. Review the contents of the code bundle and upload it again.
STATIC_VALIDATION_FAILEDThe EdgeWorkers code bundle failed static validation. Review the code bundle for errors and upload it again.
Warning types
ACCESS_TOKEN_EXPIRING_SOONThe EdgeKV access token in your EdgeWorkers code bundle will expire soon. For more information refer to Generate and retrieve EdgeKV access tokens.