# S01005 {#s01005}

## Error Code {#error_code .section}

S01005

## Error Message {#error_message .section}

`The script must be executed on an initialized controller. RefId: S01005`

## Probable Causes {#probable_causes .section}

-   The script is executed on a non-controller node \(data node or compute node\) in a cluster.
-   The script is executed in standalone mode \(on a single node\), or on a controller in a cluster, but the node has not initialized.

## Solutions {#solutions .section}

-   Check the address and port of the node you are connecting to, and if the node is a controller or a single node.
-   Check the node mode and startup status from the configuration file and logs.

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

