FerryDocs
ReferenceAPI overview

Errors

Each error has the same JSON body, with a stable code and a message for people.

Edit on GitHub
404 Not Found
{ "error": { "code": "not_found", "message": "service 'ghost' not found" } }
FieldForNotes
codeProgramsThe is stable.
messagePeopleIt tells what went wrong.

The codes

StatuscodeWhen
400invalid_requestBad JSON, an unknown field, a bad query string, or a value that fails the validation.
404not_foundNo such resource, or no such route (no API route for /api/v1/nope).
405method_not_allowedThe path exists, but not with this method.
409conflict, canceledThe request conflicts with the current state.
413payload_too_largeThe body is above the limit of the endpoint.
500database_error, io_error, build_failed, internal_errorA failure in the server. The ferryd log has the details.
502docker_errorThe Docker daemon failed, or the server cannot reach it.

More codes: authentication errors (401, 403, 429) and git errors.

On this page