Blooio API Reference

Errors

Standard error format and common error cases returned by the API.

Error schema

All error responses follow the same structure.

FieldTypeDescription
errorstringShort machine-readable error identifier
messagestringHuman-readable explanation
statusintegerHTTP status code

Examples

400 Bad Request

{ "error": "bad_request", "message": "Invalid request parameters.", "status": 400 }

401 Unauthorized

{ "error": "unauthorized", "message": "Invalid or missing API key.", "status": 401 }

403 Forbidden

{ "error": "forbidden", "message": "Action not allowed for this API key.", "status": 403 }

404 Not Found

{ "error": "not_found", "message": "Resource not found.", "status": 404 }

409 Conflict

{ "error": "conflict", "message": "Conflict with current state.", "status": 409 }

503 Service Unavailable

{ "error": "service_unavailable", "message": "No active devices available.", "status": 503 }

On this page