Statewide Docs

API errors

The error format of the Statewide API and what each code means.

Every error is JSON with one code, {"error": "<code>"}, and a matching status.

StatusCodeMeaning
400missing_community, invalid_bodyThe community slug is missing, or the body is wrong.
401unauthenticated or unauthorizedNot logged in (/api/me uses unauthorized).
403forbidden, not_member, suspended, feature_disabled, no_unitLogged in without access: not a member, suspended, the module is off, or no signed-on unit.
404not_foundNo such community.
429rate_limitedToo many requests. The Retry-After header and retryAfter say how many seconds to wait.
503busyThe service can't take it right now. Try again after Retry-After.
500internalSomething went wrong on Statewide's side.