---
title: The error codes of git8n
description: Every error code of the CLI, with its exit status.
---

# The error codes of `git8n`

A script reads the code, never the message: the message can change. The CLI prints the address of the page of the code with each error, and `--json` gives it as `error.docs`.

| Code | Status | Meaning |
| --- | --- | --- |
| [`G8N1001`](./g8n1001.md) | 2 | The command or an option is wrong. |
| [`G8N1002`](./g8n1002.md) | 2 | No address of the API: pass --api or set GIT8N_API_URL. |
| [`G8N1003`](./g8n1003.md) | 2 | The input of apply is not valid. |
| [`G8N1004`](./g8n1004.md) | 2 | The file of the credentials is not valid. |
| [`G8N1005`](./g8n1005.md) | 2 | check cannot find the locales, the manifest or the source language. |
| [`G8N2001`](./g8n2001.md) | 3 | No account is signed in, or the API refused the token. |
| [`G8N2002`](./g8n2002.md) | 1 | The device code expired before somebody approved it. |
| [`G8N2003`](./g8n2003.md) | 1 | The person refused the device code. |
| [`G8N2004`](./g8n2004.md) | 1 | The scope of the access token does not allow the request. |
| [`G8N3001`](./g8n3001.md) | 2 | No repository matches. |
| [`G8N3002`](./g8n3002.md) | 2 | The repository is not clear: pass --repo. |
| [`G8N3003`](./g8n3003.md) | 2 | The language is not clear, or the account cannot open it: pass --lang. |
| [`G8N3004`](./g8n3004.md) | 1 | A key is not a key of the source, or its file has no version in the language. |
| [`G8N4001`](./g8n4001.md) | 1 | The API refused the request. |
| [`G8N4002`](./g8n4002.md) | 1 | The API failed, or did not answer. |

