> For the complete documentation index, see [llms.txt](https://developer.securecontainerrelease.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.securecontainerrelease.com/getting-started/error-codes.md).

# ERROR CODES

#### General HTTP return codes

<table><thead><tr><th width="146">Code</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:green;">204</mark></td><td>Success</td></tr><tr><td><mark style="color:red;">401</mark></td><td>Invalid Authorization bearer token</td></tr><tr><td><mark style="color:red;">4xx</mark></td><td>A functional error occurred (see table below)</td></tr><tr><td><mark style="color:red;">500</mark></td><td>Internal server error</td></tr></tbody></table>

#### 500 error code

{% hint style="info" %}
Please note that when a <mark style="color:red;">500</mark> error is returned, the body of the response contains the error code and description in JSON-format. However, this error code always indicates a technical or network problem, so these should not be shown to end-users.
{% endhint %}

{% code title="Example 500 error" %}

```json
{
"code": 1,
"description": "an error"
}
```

{% endcode %}

#### Detailed list of 4xx functional errors

<table><thead><tr><th width="175">Error code</th><th>Event</th></tr></thead><tbody><tr><td><mark style="color:red;">422</mark></td><td>A wrong HTTP verb is used</td></tr><tr><td><mark style="color:red;">403</mark></td><td>A release is retrieved for which you have no access (anymore)</td></tr><tr><td><mark style="color:red;">422</mark></td><td>A release is transferred but the address is an invalid format</td></tr><tr><td><mark style="color:red;">422</mark></td><td>A release is transferred but the address is unknown</td></tr><tr><td><mark style="color:red;">409</mark></td><td>A release is transferred but the release is no longer valid</td></tr><tr><td><mark style="color:red;">409</mark></td><td>A release is transferred but you are not owner anymore</td></tr><tr><td><mark style="color:red;">409</mark></td><td>A release in revoked but you are already the owner</td></tr><tr><td><mark style="color:red;">409</mark></td><td>A release is revoked but the release is no longer valid</td></tr><tr><td><mark style="color:red;">404</mark></td><td>A pin is requested but the address is an invalid format</td></tr><tr><td><mark style="color:red;">404</mark></td><td>A pin is requested but the address is unknown</td></tr><tr><td><mark style="color:red;">404</mark></td><td>A pin is requested but the release is no longer valid</td></tr><tr><td><mark style="color:red;">404</mark></td><td>A pin is requested but you are not owner anymore</td></tr></tbody></table>
