# Errors

**General Payload Structure**

Each error response follows a consistent JSON structure:

```
{
    "statusCode": <status code>,
    "message": <error message>,
    "timestamp": <timestamp> 
}
```

**System Error**

* **Status Code:** `500`
* **Message:** `"Oops! Something went wrong"`
* **Example:**

```
{
    "statusCode": 500,
    "message": "Oops! Something went wrong",
    "timestamp": "2024-01-15T07:51:01.953Z"
}
```

**Temporary Unavailability**

* **Status Code:** `401`
* **Message:** `"Please try in some time!"`
* **Example:**

```
{
    "statusCode": 401,
    "message": "Please try in some time!",
    "timestamp": "2024-01-15T07:51:01.953Z"
}
```

**Invalid Request**

* **Status Code:** `401`
* **Message:** `"Invalid Request"`
* **Example:**

```
{
    "statusCode": 401,
    "message": "Invalid Request",
    "timestamp": "2024-01-15T07:51:01.953Z"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.myipr.io/myipr-open-api/api-guides/errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
