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

# Reason Codes

This page contains all reason codes that explain why operations were terminated or changed state in the Intuned system.

## Run Reason Codes

### `auth-session-validate-dependency-failed`

The authentication session validation dependency failed, preventing the run from proceeding.

### `terminated`

The run was terminated due to user action.

### `job-run-terminated`

The run was terminated because the parent job run was terminated.

### `failed-to-initialize-job-run`

Failed to properly initialize the job run, preventing execution from starting.

### `api-access-disabled`

The project was deployed with disabled API access while the run was in progress, causing the run to be cancelled.

### `cancelled-user-action`

The run was canceled by user action.

## Job Run Reason Codes

### `terminated`

The job run was terminated due to user action.

### `user-request`

The job run was paused during execution due to an explicit user request.

### `auth-session-not-found`

The required authentication session could not be found for the job run.

### `auth-session-invalid-mid-job`

The authentication session became invalid while the job was running. so the job was paused waiting for user to take action ( if needed) and make sure auth session instance is healthy

### `auth-session-validate-dependency-failed`

Before each job run, we validate the authentication session. If validation fails, we cancel the active job run and mark it as canceled with the reason of authentication session validation failure.

### `auth-session-locked`

The authentication session is locked by another run and cannot be used by this job run.

### `another-job-run-active`

Another job run is currently active, preventing this job run from starting.
