> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ScriptExecutionError

> ScriptExecutionError data type.

## Properties

| Name | Type | Description |
| :- | :- | :- |
| Error | String | Error code, such as CloudScriptNotFound, JavascriptException, CloudScriptFunctionArgumentSizeExceeded, CloudScriptAPIRequestCountExceeded, CloudScriptAPIRequestError, or CloudScriptHTTPRequestError |
| Message | String | Details about the error |
| StackTrace | String | Point during the execution of the script at which the error occurred, if any |


## Related topics

- [Writing custom CloudScript](https://docs.xbox.com/services/playfab/live-service-management/service-gateway/automation/cloudscript/writing-custom-cloudscript.md)
- [ExecuteCloudScriptResult](https://docs.xbox.com/services/playfab/api-references/events/data-types/executecloudscriptresult.md)
- [PFCloudScriptScriptExecutionError](https://docs.xbox.com/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptscriptexecutionerror.md)
- [PFCloudScriptFunctionExecutionError](https://docs.xbox.com/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptfunctionexecutionerror.md)
- [Post Function Result For Function Execution](https://docs.xbox.com/services/playfab/api-references/rest/cloudscript/server-side-cloud-script/post-function-result-for-function-execution.md)
