---
title: "Internal error — Anis Developers"
description: "Something failed inside Anis before a decision was reached. If the answer is marked `Idempotency-Replayed: true`, it is instead the recorded answer of an order that is already closed — nothing was bought."
url: https://developers.anis.ly/errors/internal-error/
language: en
---

> Every page of this documentation: https://developers.anis.ly/llms.txt

[Error codes](https://developers.anis.ly/errors.md) · No decision reached

# Internal error

- **Code:** `internal_error`
- **Status:** 500
- **If this was an order:** May still complete — resume with the same id
- **Send it again unchanged?** Yes — see What to do
- **.NET SDK:** `DependencyUnavailableException`

> **The order may still complete**
>
> Resume it with the **same** operation id and the same body. A new operation id can buy the cards a second time.

## What it means

Something failed inside Anis before a decision was reached. If the answer is marked `Idempotency-Replayed: true`, it is instead the recorded answer of an order that is already closed — nothing was bought.

## What to do

- On an order: resume with the SAME operation id after a short wait — unless the answer is marked replayed, in which case the order is closed.
- On a read: retry after a short wait.
- If it persists, contact Anis with the request id.

## Where you can meet it

- GET [Read your profile](https://developers.anis.ly/reference/read-profile.md) `/v1/profile`
- GET [List wallets](https://developers.anis.ly/reference/list-wallets.md) `/v1/wallets`
- GET [Read a wallet](https://developers.anis.ly/reference/read-wallet.md) `/v1/wallets/{walletId}`
- GET [List catalogue categories](https://developers.anis.ly/reference/list-categories.md) `/v1/wallets/{walletId}/catalog/categories`
- GET [List subcategories of a category](https://developers.anis.ly/reference/list-subcategories.md) `/v1/wallets/{walletId}/catalog/categories/{categoryId}/subcategories`
- GET [Read a subcategory](https://developers.anis.ly/reference/read-subcategory.md) `/v1/wallets/{walletId}/catalog/subcategories/{subcategoryId}`
- GET [List cards for sale](https://developers.anis.ly/reference/list-cards.md) `/v1/wallets/{walletId}/catalog/subcategories/{subcategoryId}/cards`
- POST [Place an order](https://developers.anis.ly/reference/create-order.md) `/v1/wallets/{walletId}/orders`
- GET [Read an order](https://developers.anis.ly/reference/read-order.md) `/v1/orders/{operationId}`
- GET [List owned cards](https://developers.anis.ly/reference/list-owned-cards.md) `/v1/wallets/{walletId}/cards`
- GET [Read an owned card](https://developers.anis.ly/reference/read-owned-card.md) `/v1/wallets/{walletId}/cards/{soldCardId}`
- POST [Reveal a card](https://developers.anis.ly/reference/reveal-card.md) `/v1/wallets/{walletId}/cards/{soldCardId}/reveal`
- POST [Reveal an invoice](https://developers.anis.ly/reference/reveal-invoice.md) `/v1/wallets/{walletId}/invoices/{invoiceId}/cards/reveal`
- POST [Check your signature](https://developers.anis.ly/reference/check-signature.md) `/v1/diagnostics/signature`
- GET [Read an invitation](https://developers.anis.ly/reference/read-invitation.md) `/v1/enrollments/{invitationId}`
- POST [Submit a public key](https://developers.anis.ly/reference/submit-key.md) `/v1/enrollments/{invitationId}/keys`
- POST [Prove you hold the key](https://developers.anis.ly/reference/submit-proof.md) `/v1/enrollments/{invitationId}/proof`
- GET [Read enrolment status](https://developers.anis.ly/reference/read-enrollment-status.md) `/v1/enrollments/{invitationId}/status`

## Example

The body of the refusal. Its `type` is the address of this page.

```
{
  "type": "https://developers.anis.ly/errors/internal-error",
  "title": "Internal error",
  "status": 500,
  "code": "internal_error",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}
```
