---
updatedAt: 2025-09-12T18:03:21.000Z
agentTools:
  projectIndex: https://developers.anchorage.com/llms.txt
---

# Errors

The Anchorage Digital API returns standard HTTP error codes for each API request.

<Table>
  <thead>
    <tr>
      <th>
        Response Code
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        200 OK
      </td>

      <td>
        The request was successful.
      </td>
    </tr>

    <tr>
      <td>
        400 Bad Request
      </td>

      <td>
        The request was improperly formed and could not be understood by the server, often due to invalid syntax, insufficient funds, or a missing required parameter.
      </td>
    </tr>

    <tr>
      <td>
        401 Unauthorized
      </td>

      <td>
        The request was missing a valid API key.
      </td>
    </tr>

    <tr>
      <td>
        403 Forbidden
      </td>

      <td>
        The provided API key does not have permission to perform the requested action.
      </td>
    </tr>

    <tr>
      <td>
        404 Not Found
      </td>

      <td>
        The requested resource does not exist.
      </td>
    </tr>

    <tr>
      <td>
        409 Conflict
      </td>

      <td>
        The requested resource cannot proceed with the requested action because it is not in the required state.
      </td>
    </tr>

    <tr>
      <td>
        429 Too Many Requests
      </td>

      <td>
        Too many requests have been sent in a given amount of time.
      </td>
    </tr>

    <tr>
      <td>
        500 Internal Server Error\
        502 Bad Gateway\
        503 Service Unavailable\
        504 Gateway Timeout
      </td>

      <td>
        Something went wrong on Anchorage’s side. We have been alerted and are working on it.
      </td>
    </tr>
  </tbody>
</Table>

In addition to returning HTTP error codes for failed requests, the Anchorage Digital API includes a readable error message describing what went wrong in the response body.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Field
      </th>

      <th>
        Description
      </th>

      <th>

      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        errorType
      </td>

      <td>
        * string\_ (ErrorType)\
          Enum: `"InternalError"` `"InvalidRequest"` `"Unauthenticated"` `"Forbidden"` `"NotFound"` `"Conflict"` `"UnprocessableEntity"` `"TooManyRequests" "ServiceUnavailable"` `"QuoteExpired"` `"InsufficientFunds"` `"NotImplemented"`\
          The type of error returned.
      </td>

      <td>

      </td>
    </tr>

    <tr>
      <td>
        message
      </td>

      <td>
        *string*\
        A human-readable message providing more details about the error.
      </td>

      <td>

      </td>
    </tr>
  </tbody>
</Table>