# S01059 {#S01059}

## Error Code {#error_code .section}

S01059

## Error Message {#error_message .section}

`Function getTSDBCompactionTaskStatus is only enabled in DATANODE or SINGLE mode. RefId: S01059`

## Probable Causes {#probable_causes .section}

O&amp;M functions for the TSDB engine can only be executed on a data node or in standalone mode.

## Solutions {#solutions .section}

Execute on a data node or in standalone mode.

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

