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

# Errors

| **Field**   | **Type** | **Description**        |
| ----------- | -------- | ---------------------- |
| code        | string   | RWS server error code. |
| description | string   | Error description.     |

&#x20;

```json
{
   error: {
      code: "0",
      description: "description"
   }
}
```

&#x20;

**404 Not Found**

| **Code** | **Description**    |
| -------- | ------------------ |
| 001-001  | User not found.    |
| 001-002  | Project not found. |
| 001-003  | Object not found.  |

&#x20;

**403 Forbidden**

| **Code** | **Description** |
| -------- | --------------- |
| 002-001  | Invalid token.  |

&#x20;

**401 Unauthorized**

| **Code** | **Description**                                    |
| -------- | -------------------------------------------------- |
| 003-001  | Invalid token.                                     |
| 003-002  | Unable to authorize banned user.                   |
| 003-003  | Wrong username or password.                        |
| 003-004  | User account not confirmed.                        |
| 003-005  | Unauthorized user.                                 |
| 003-006  | RWS Login server or resource owner denied request. |
| 003-007  | Missing Information.                               |
| 003-008  | Game mismatch or doesn't own game.                 |
| 003-009  | Game doesn't exist for user.                       |
| 003-010  | Access denied.                                     |

&#x20;

**400 Bad Request**

| **Code** | **Description**                                                       |
| -------- | --------------------------------------------------------------------- |
| 004-001  | Request has invalid parameters.                                       |
| 004-002  | Client authentication failed.                                         |
| 004-003  | Parameter state missing or too weak as it has less than 4 characters. |
| 004-004  | Authorization grant is invalid or expired.                            |
| 005-001  | Something went wrong.                                                 |

&#x20;

**422 Unprocessable Entity**

| **Code** | **Description**                                                                                    |
| -------- | -------------------------------------------------------------------------------------------------- |
| 006-001  | Nickname missed in query.                                                                          |
| 006-002  | User with specified username already exists.                                                       |
| 006-003  | Server specified already exists.                                                                   |
| 006-004  | Server specified failed to remove.                                                                 |
| 006-005  | Server specified failed to update.                                                                 |
| 006-006  | No Servers Found.                                                                                  |
| 006-007  | Exceeded server max limit.                                                                         |
| 006-008  | Call unavailable for this Login project.                                                           |
| 006-009  | Change this Login project settings in RWS Developer Account or Contact Us.                         |
| 006-010  | Mismatch project type.                                                                             |
| 006-011  | Social network authentication failed: SERVICE\_NAME (e.g. Social Provider name. Discord, Steam..). |
| 006-012  | This social account already linked to another user.                                                |
| 006-013  | Authentication via this social network not enabled for this Login project. Need's to be enabled.   |
| 006-014  | Password reset disabled for this Login project.                                                    |
| 006-015  | Duplicated attributes.                                                                             |

&#x20;

**429 Too Many Requests**

| **Code** | **Description**                                                                  |
| -------- | -------------------------------------------------------------------------------- |
| 007-001  | Allowed number of search attempts exceeded. Wait one second before next request. |
| 007-002  | Allowed number of requests exceeded.                                             |

&#x20;

**200 Successful**

| **Code** | **Description** |
| -------- | --------------- |
| 008-001  | Access granted. |
