Errors
Ploi uses the most known HTTP status codes to let you know what is happening.
You can find a list of response codes that we use here:
| Error | Description |
|---|---|
| 200 | You're all good, nothing has failed |
| 201 | We have succesfully created your object |
| 422 | Validation for parameters has failed |
| 429 | Too many attempts |
| 500 | A internal error has occurred, we will be notified about this |
| 503 | We are doing some maintenance |
There is also a case that you will receive another error about your subscription. We return the following response if you are not on a paid subscription:
{
"error": "You are on a free plan, therefore you cannot use this API.",
"links": [
"http://ploi.io/profile/subscription",
"http://ploi.io/pricing"
]
}