Skip to main content

Expected errors for GBFS

For having more clarity on API behavior (in case some errors occure), list of GBFS HTTP errors is present.

4.x.x Errors
Status CodeDescriptionResponse JSON
400Bad Request{ "error": "Bad Request" }
400Bad Request{ "error":"Bad Request: request.headers should have required property `authorization`" }
400Bad Request{ "error":"Bad Request: ERR_INVALID_AUTHORIZATION_HEADER" }
401Unauthorized{ "error": "Unauthorized: ERR_ACCESS_DENIED" }
401Unauthorized{ "error":"Unauthorized: ERR_INVALID_TOKEN" }
403Forbidden{ "error":"Forbidden: ERR_ACCESS_DENIED" }
404Not Found{ "error": "Not Found: not found" }
405Method Not Allowed{ "error": "Method Not Allowed: POST method not allowed" }