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

# Errors

## **Error Codes and Messages**

This section contains a list of common error responses by their error codes. Here is an example of what a response might look like:

```json
{
  "error": {
    "code": 401,
    "message": "You are no longer authorized, did you change your API token?"
  }
}
```

## **401 Unauthorized (API Key Error)**

**Error Code**: 401\
**Message**: "You are no longer authorized, did you change your API token?"

***

## **401 Unauthorized (Basic Authentication Required)**

**Error Code**: 401\
**Message**: "You are not authorized, did you provide the correct credentials?"

***

## **404 Cannot Find**

**Error Code**: 404\
**Message**: "Cannot find \<requested resource>"

***

## **403 Forbidden to View Auction**

**Error Code**: 403\
**Message**: "Forbidden, you cannot view this auction"

***

## **403 Forbidden to Delete Warp**

**Error Code**: 403\
**Message**: "Forbidden, you cannot delete this warp!"

***

## **404 Auction Not Found**

**Error Code**: 404\
**Message**: "The auction you are looking for does not exist!"

***

## **404 Recent Auction Not Found**

**Error Code**: 404\
**Message**: "The recent auction you are looking for does not exist!"

***

## **403 Forbidden to View Recent Auction**

**Error Code**: 403\
**Message**: "Forbidden, you cannot view this recent auction!"

***

## **400 Invalid UUID**

**Error Code**: 400\
**Message**: "Invalid UUID provided!"

***

## **403 Unauthorized to View Player**

**Error Code**: 403\
**Message**: "Forbidden, you cannot view this player!"
