> For the complete documentation index, see [llms.txt](https://info.soccerfootball.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://info.soccerfootball.info/websocket/errors.md).

# Errors

There is some possibile errors:

## #404

*Not Found error*. The endpoint is missing or element not found

```javascript
{
	"status": 404,
	"errors": [
		{
			"code" : 6,
			"message" : "Not Found"
		}
	],
  	"pagination": [],
  	"result": []
}
```

## #400

*Bad Request.* Missing some variable in endpoint. Only one error at time

```javascript
{
	"status": 400,
	"errors": [
		{
			"code" : 1,
			"message" : "Missing XXX param"
		},
		{
			"code" : 7,
			"message" : "Wrong XXX param"
		}
	],
  	"pagination": [],
  	"result": []
}
```

## #401

*Unauthorized.* Your token don't have enough of privileges to access at this endpoint or is suspended/invalid

```javascript
{
	"status": 401,
	"errors": [
		{
			"code" : 2,
			"message" : "Token is invalid"
		},
		{
			"code" : 3,
			"message" : "Token is suspended"
		},
		{
			"code" : 4,
			"message" : "Token does not have permission"
		},
		{
			"code" : 5,
			"message" : "Token IP is invalid"
		}
	],
  	"pagination": [],
  	"result": []
}
```

## #429

*Too many requests.* Your token do too many requests due your plan limitation. Need to wait next hour

```javascript
{
	"status": 429,
	"errors": [
		{
			"code" : 7,
			"message" : "Too many requests"
		}
	],
  	"pagination": [],
  	"result": []
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://info.soccerfootball.info/websocket/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.
