Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
LuauExecutionSessionTask_Error — openapi
Contains error details in case of failed execution.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | false | An error code indicating the category of the error. Possible values: | Value | Description | | --- | --- | | ERROR_CODE_UNSPECIFIED | UNSPECIFIED | | SCRIPT_ERROR | The task's script raised an unhandled error. | | DEADLINE_EXCEEDED | The task exceeded the maximum allowed execution duration. | | OUTPUT_SIZE_LIMIT_EXCEEDED | The task's outputs were too large. | | INTERNAL_ERROR | The Task failed due to an internal system error. | |
| message | string | false | An error message containing more details about the error. |
Complete Schema
{
"type": "object",
"properties": {
"code": {
"readOnly": true,
"example": "ERROR_CODE_UNSPECIFIED",
"enum": [
"ERROR_CODE_UNSPECIFIED",
"SCRIPT_ERROR",
"DEADLINE_EXCEEDED",
"OUTPUT_SIZE_LIMIT_EXCEEDED",
"INTERNAL_ERROR"
],
"type": "string",
"description": "An error code indicating the category of the error.\n\nPossible values:\n\n | Value | Description |\n | --- | --- |\n | ERROR_CODE_UNSPECIFIED | UNSPECIFIED |\n | SCRIPT_ERROR | The task's script raised an unhandled error. |\n | DEADLINE_EXCEEDED | The task exceeded the maximum allowed execution duration. |\n | OUTPUT_SIZE_LIMIT_EXCEEDED | The task's outputs were too large. |\n | INTERNAL_ERROR | The Task failed due to an internal system error. |",
"format": "enum"
},
"message": {
"readOnly": true,
"type": "string",
"description": "An error message containing more details about the error."
}
},
"description": "Contains error details in case of failed execution."
}