> For the complete documentation index, see [llms.txt](https://dev-en.omnione.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev-en.omnione.net/how-to-check-blockchain-data/check-agent-api/untitled-10.md).

# response codes

## 200 - Success

Response Sample (JSON)

```javascript
{
  "code": 200,
  "message": "Success"
}
```

{% hint style="info" %}
Success
{% endhint %}

## 1000 - invalid request data

Response Sample (JSON)

```javascript
{
  "code": 1000,
  "message": "invalid request data",
  "errors": [
    {
      "msg": "Invalid value",
      "param": "x-agent-api-token",
      "location": "headers"
    }
  ]
}
```

{% hint style="info" %}
In case when the required input parameter is omitted or parameter type does not match
{% endhint %}

## 1001 - not found data. check parameters

Response Sample (JSON)

```javascript
{
  "code": 1001,
  "message": "not found data. check parameters"
}
```

{% hint style="info" %}
Data not found
{% endhint %}

## 1002 - agent api access token validate failed

Response Sample (JSON)

```javascript
{
  "code": 1002,
  "message": "agent api access token validate failed"
}
```

{% hint style="info" %}
Agent api access token error
{% endhint %}

## 1003 - agent service error

Response Sample (JSON)

```javascript
{
  "code": 1003,
  "message": "agent Service Error",
  "errors": {
  }
}
```

{% hint style="info" %}
Agent service exception error
{% endhint %}

## 1100 - internal service error

Response Sample (JSON)

```javascript
{
  "code": 1100,
  "message": "Internal Service Error",
  "errors": {
    "code": 3050001,
    "what": "Account name already exists"
  }
}
```

{% hint style="info" %}
External interface processing error
{% endhint %}

## 1201 - exist session id

Response Sample (JSON)

```javascript
{
  "code": 1201,
  "message": "exist session id"
}
```

{% hint style="info" %}
Duplication error addsymmetrickey session id&#x20;
{% endhint %}

## 1202 - not enough budget

Response Sample (JSON)

```javascript
{
  "code": 1202,
  "message": "not enough budget"
}
```

{% hint style="info" %}
Insufficient sp budge error&#x20;
{% endhint %}

## 1203 - invalid auth token

Response Sample (JSON)

```javascript
{
  "code": 1203,
  "message": "invalid auth token"
}
```

{% hint style="info" %}
sp auth token error
{% endhint %}

## 1300 - failed to verify

Response Sample (JSON)

```javascript
{
  "code": 1300,
  "message": "failed to verify"
}
```

{% hint style="info" %}
auth verification failed
{% endhint %}
