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

# Error codes

> One page per error code the tool prints. The code is in the message, and in --json output as code.

With `--json`, a refusal's document has the code in its `code` field. The list is the plan's (section 5.3.9): the tool's own codes, and the service's, which the tool prints as the service sends them. A code no command can meet yet says with which milestone it comes.

| Code | Meaning | From | Exit code |
| - | - | - | - |
| \[`E_UNAUTHENTICATED`]\(/troubleshooting/errors/e-unauthenticated) | There are no valid credentials. | the tool | [4](https://docs.hex65.com/troubleshooting/exit-codes/4.md) |
| \[`E_NOT_INVITED`]\(/troubleshooting/errors/e-not-invited) | The account has no invitation yet. | the service | [10](https://docs.hex65.com/troubleshooting/exit-codes/10.md) |
| \[`E_FORBIDDEN`]\(/troubleshooting/errors/e-forbidden) | Your role in the workspace does not allow this. | the service | [4](https://docs.hex65.com/troubleshooting/exit-codes/4.md) |
| \[`E_SCOPE`]\(/troubleshooting/errors/e-scope) | The API token does not have the scope this needs. | the service | none yet (coming, M2) |
| \[`E_DEVICE_REVOKED`]\(/troubleshooting/errors/e-device-revoked) | This machine's device key was revoked. | the service | [4](https://docs.hex65.com/troubleshooting/exit-codes/4.md) |
| \[`E_NOT_FOUND`]\(/troubleshooting/errors/e-not-found) | There is no such object in this workspace. | the service | [2](https://docs.hex65.com/troubleshooting/exit-codes/2.md) |
| \[`E_VALIDATION`]\(/troubleshooting/errors/e-validation) | The request did not pass validation. The message lists the fields. | the service | [1](https://docs.hex65.com/troubleshooting/exit-codes/1.md) |
| \[`E_CONFLICT`]\(/troubleshooting/errors/e-conflict) | The object changed, or already exists. | the service | [1](https://docs.hex65.com/troubleshooting/exit-codes/1.md) |
| \[`E_IDEMPOTENCY_MISMATCH`]\(/troubleshooting/errors/e-idempotency-mismatch) | An idempotency key was used again with a different request. | the service | none yet (coming, M2) |
| \[`E_RATE_LIMITED`]\(/troubleshooting/errors/e-rate-limited) | Too many requests. The answer says when to try again. | the service | [5](https://docs.hex65.com/troubleshooting/exit-codes/5.md) |
| \[`E_PLAN_LIMIT`]\(/troubleshooting/errors/e-plan-limit) | The plan does not include this, or a count limit was reached. | the tool | [11](https://docs.hex65.com/troubleshooting/exit-codes/11.md) |
| \[`E_ALLOWANCE_EXHAUSTED`]\(/troubleshooting/errors/e-allowance-exhausted) | No laps are left in this period, and extra laps are off. | the tool | [12](https://docs.hex65.com/troubleshooting/exit-codes/12.md) |
| \[`E_CAP_REACHED`]\(/troubleshooting/errors/e-cap-reached) | The cap on extra laps was reached. | the service | [12](https://docs.hex65.com/troubleshooting/exit-codes/12.md) |
| \[`E_GRANT_UNKNOWN`]\(/troubleshooting/errors/e-grant-unknown) | A usage report names a grant this workspace does not hold. | the service | none (the tool handles it) |
| \[`E_GRANT_EXPIRED`]\(/troubleshooting/errors/e-grant-expired) | A usage report arrived after its grant's report window closed. | the service | none (the tool handles it) |
| \[`E_REDACTION_REQUIRED`]\(/troubleshooting/errors/e-redaction-required) | An upload has no valid redaction report, or the report still has findings. | the service | none yet (coming, M2) |
| \[`E_QUARANTINED`]\(/troubleshooting/errors/e-quarantined) | The service's own scan found a secret in an upload, and set it aside. | the service | none yet (coming, M2) |
| \[`E_NO_PROVIDER_KEY`]\(/troubleshooting/errors/e-no-provider-key) | A model call is needed and no key is set for its provider. | the service | [6](https://docs.hex65.com/troubleshooting/exit-codes/6.md) |
| \[`E_PROVIDER_AUTH`]\(/troubleshooting/errors/e-provider-auth) | The provider refused your key. | the service | none yet (coming, M2) |
| \[`E_PROVIDER_UNAVAILABLE`]\(/troubleshooting/errors/e-provider-unavailable) | The provider did not answer after retries. | the service | none yet (coming, M2) |
| \[`E_TWIN_NOT_BUILT`]\(/troubleshooting/errors/e-twin-not-built) | The course has no twin ready in the service. | the service | none yet (coming, M2) |
| \[`E_RUNNER_OFFLINE`]\(/troubleshooting/errors/e-runner-offline) | The private runner named is not connected. | the service | none yet (coming, M4) |
| \[`E_EXAM_REQUIRED`]\(/troubleshooting/errors/e-exam-required) | The task needs a sealed exam before tuning can begin. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_EXAM_CONTAMINATION`]\(/troubleshooting/errors/e-exam-contamination) | A run outside an exam included an exam case. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_EXAM_CONTENT`]\(/troubleshooting/errors/e-exam-content) | The request would show or reuse exam content. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_SEAL_IMMUTABLE`]\(/troubleshooting/errors/e-seal-immutable) | A sealed exam version cannot be changed. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_ATTEMPTS_EXHAUSTED`]\(/troubleshooting/errors/e-attempts-exhausted) | The exam version's attempt budget is used up. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_ATTEMPT_INELIGIBLE`]\(/troubleshooting/errors/e-attempt-ineligible) | The attempt cannot back what was asked of it. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_DIRTY_TREE`]\(/troubleshooting/errors/e-dirty-tree) | The agent's working tree has uncommitted changes. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_CONTAINMENT_REQUIRED`]\(/troubleshooting/errors/e-containment-required) | Enforced containment is required and not available. | the service | none yet (coming, M2) |
| \[`E_CASE_EXPOSED`]\(/troubleshooting/errors/e-case-exposed) | The case has already run outside an exam, so it cannot join the exam pool. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_CHECK_VERSION_MISMATCH`]\(/troubleshooting/errors/e-check-version-mismatch) | Two runs were graded with different versions of the checks, so they cannot be compared. | the tool | [2](https://docs.hex65.com/troubleshooting/exit-codes/2.md) |
| \[`E_SPEC_UNPUBLISHED`]\(/troubleshooting/errors/e-spec-unpublished) | The task has no published specification. | the service | none yet (coming, M2) |
| \[`E_COSTS_MISSING`]\(/troubleshooting/errors/e-costs-missing) | The error costs or the human-effort costs are not set. | the service | none yet (coming, M2) |
| \[`E_LEVEL_NOT_ELIGIBLE`]\(/troubleshooting/errors/e-level-not-eligible) | The level asked for fails a gate. The decision lists which. | the service | none yet (coming, M2) |
| \[`E_LICENSE_STATE`]\(/troubleshooting/errors/e-license-state) | The license cannot make that change from its current state. | the service | none yet (coming, M2) |
| \[`E_SIGNATURE_INVALID`]\(/troubleshooting/errors/e-signature-invalid) | A signature did not verify. | the tool | [8](https://docs.hex65.com/troubleshooting/exit-codes/8.md) |
| \[`E_EVIDENCE_SUPERSEDED`]\(/troubleshooting/errors/e-evidence-superseded) | The evidence under a license draft changed. | the service | none yet (coming, M2) |
| \[`E_CHECKSUM`]\(/troubleshooting/errors/e-checksum) | A hash does not match. | the tool | [8](https://docs.hex65.com/troubleshooting/exit-codes/8.md) |
| \[`E_UNSUPPORTED_VERSION`]\(/troubleshooting/errors/e-unsupported-version) | A format or protocol version is not supported. | the service | [1](https://docs.hex65.com/troubleshooting/exit-codes/1.md) |
| \[`E_AUTHORIZATION_PENDING`]\(/troubleshooting/errors/e-authorization-pending) | Device sign-in, the person has not confirmed the code yet. | the service | [4](https://docs.hex65.com/troubleshooting/exit-codes/4.md) |
| \[`E_SLOW_DOWN`]\(/troubleshooting/errors/e-slow-down) | Device sign-in, the tool asked again too soon. | the service | [4](https://docs.hex65.com/troubleshooting/exit-codes/4.md) |
| \[`E_CODE_EXPIRED`]\(/troubleshooting/errors/e-code-expired) | Device sign-in, the code is unknown, used or expired. | the service | [4](https://docs.hex65.com/troubleshooting/exit-codes/4.md) |
| \[`E_ACCESS_DENIED`]\(/troubleshooting/errors/e-access-denied) | Device sign-in, the person refused the code. | the service | [4](https://docs.hex65.com/troubleshooting/exit-codes/4.md) |
| \[`E_IDP_UNAVAILABLE`]\(/troubleshooting/errors/e-idp-unavailable) | The identity provider did not answer, or answered something refused. | the service | [5](https://docs.hex65.com/troubleshooting/exit-codes/5.md) |
| \[`E_STEP_UP_REQUIRED`]\(/troubleshooting/errors/e-step-up-required) | Admin console only, the staff session still needs its second factor checked. | the service | [4](https://docs.hex65.com/troubleshooting/exit-codes/4.md) |
| \[`E_INTERNAL`]\(/troubleshooting/errors/e-internal) | An unexpected error in the service. The request id is logged. | the service | [1](https://docs.hex65.com/troubleshooting/exit-codes/1.md) |
| \[`E_EXAM_CHECKS_CHANGED`]\(/troubleshooting/errors/e-exam-checks-changed) | The checks of the task changed after its exam was sealed. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |
| \[`E_EXAM_KEY_LOST`]\(/troubleshooting/errors/e-exam-key-lost) | The key that encrypts the exam pool on this machine is missing. | the tool | [13](https://docs.hex65.com/troubleshooting/exit-codes/13.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.