> For the complete documentation index, see [llms.txt](https://docs.infoway.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.infoway.io/getting-started/error-codes/websocket.md).

# WebSocket错误码

| 错误码 | 说明                                                |
| --- | ------------------------------------------------- |
| 500 | 服务异常                                              |
| 501 | 请求频率超出一分钟限制                                       |
| 505 | 产品数量超出限制                                          |
| 506 | 参数缺失                                              |
| 515 | 参数不是json格式                                        |
| 513 | WebSocket心跳超时                                     |
| 401 | 认证错误，API Key不正确，或者未将API Key放置在指定`header`或`query`中 |
| 404 | API接口不存在                                          |
| 427 | WebSocket连接数量超过套餐配额                               |
| 429 | 请求频率限制，请求不符合您当前套餐配额                               |
| 499 | 客户端主动中断，通常发生在网络不稳定的地区，请在良好网络环境连接                  |
| 524 | 源服务器连接超时，通常发生在我们加速代理提供商到我们服务器之间不稳定导致，一般很快就能恢复     |
