Errors
Bunny Studio API follows HTTP status code semantics.
200 codes indicate success, 400 mostly represent user errors, and 500 generally correspond to server errors. Error messages will return a JSON-encoded body that contains an object with information about the error. These will provide a specific error condition and a human-readable message to identify what caused the error.
An error will usually look like this:
{
status: XXX,
type: 'TYPE_OF_ERROR',
message: 'DESCRIPTION OF ERROR',
}
Success code
200 OK
Request completed successfully.
User error codes
These errors generally indicate a problem on the client side. If you encounter one of these errors, please check your code and the request details.