# S04008 {#S04008}

## Error Code {#error_code .section}

S04008

## Error Message {#error_message .section}

`The job priority must be between 0 and 8. RefId: S04008`

## Probable Causes {#probable_causes .section}

This error occurs when the highest priority of the jobs specified by the `setMaxJobPriority` function exceeds the range of 0 to 8.

## Solutions {#solutions .section}

Make sure that the *maxPriority* parameter of `setMaxJobPriority` is set between 0 and 8.

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

