Template

Errors

Standard HTTP response codes are used for all errors, and all errors contain at least the following fields:

Example
{
	"status": 401,
	"code": "UNAUTHORIZED",
	"message": "Missing authentication token"
}

Some errors provide additional information in the details field:

Example
{
	"status": 422,
	"code": "UNPROCESSABLE_ENTITY",
	"message": "Invalid request data",
	"details": [
		{
			"code": "INVALID_TYPE",
			"field": "password",
			"message": "Required"
		}
	]
}

Possible Errors

StatusCodeMessage
401UNAUTHORIZEDMissing authentication token
403FORBIDDENNo access to resource
404NOT_FOUNDResource not found
422UNPROCESSABLE_ENTITYVaries by request