> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

> Common Agent API error responses.

# Errors

Agent API errors use a consistent response envelope.

```json theme={null}
{
  "code": 400,
  "error": {
    "message": "invalid_field_type:urls, expected array",
    "type": "bad_request"
  }
}
```

## Common Codes

| HTTP code | Meaning                                           |
| --------- | ------------------------------------------------- |
| `400`     | Invalid request body or unsupported field         |
| `401`     | Missing or invalid API key                        |
| `402`     | Insufficient credits                              |
| `403`     | Task does not belong to the authenticated account |
| `404`     | Endpoint feature or task not found                |
| `429`     | Rate limit or credit limit exceeded               |
| `500`     | Task submission failed                            |
