Error responses

The following message is returned whenever a command cannot be parsed.

HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 88

{"error_type": "malformed_command", "error_description": "Command could not be parsed."}

The following message is returned when the library is initializing. The request cannot be performed until initialization is complete.

HTTP/1.1 409 Conflict
Content-Type: application/json
Content-Length: 76

{"error_type": "not_ready", "error_description": "Library is initializing."}