Errors
HTTP status codes used by the API.
Ploi uses standard HTTP status codes to indicate the success or failure of requests.
| Code | Description |
|---|---|
200 | Success - Request completed successfully |
201 | Created - Resource was successfully created |
422 | Validation Error - Request parameters failed validation |
429 | Too Many Requests - Rate limit exceeded |
500 | Server Error - An internal error occurred |
503 | Maintenance - We are performing maintenance |
Subscription Error
If you are not on a paid subscription, you will receive the following response:
Subscription Required
{
"error": "You are on a free plan, therefore you cannot use this API.",
"links": [
"https://ploi.io/profile/subscription",
"https://ploi.io/pricing"
]
}