跳到主要内容

Status Codes Reference

Standard HTTP status codes returned by the Ever Gauzy API.

Success Codes

CodeStatusDescriptionEndpoints
200OKRequest successfulGET, PUT, DELETE
201CreatedResource createdPOST
204No ContentSuccessful, no response bodyDELETE

Client Error Codes

CodeStatusDescriptionCommon Cause
400Bad RequestValidation errorInvalid input
401UnauthorizedMissing/invalid JWTExpired token
403ForbiddenInsufficient permissionsWrong role
404Not FoundResource doesn't existWrong ID / tenant
409ConflictDuplicate resourceEmail in use
422UnprocessableSemantic validation errorBusiness rule
429Too Many RequestsRate limit exceededToo many calls

Server Error Codes

CodeStatusDescription
500Internal ErrorUnexpected server error
502Bad GatewayUpstream service unavailable
503Service UnavailableServer overloaded
504Gateway TimeoutUpstream service timeout

Error Response Format

{
"statusCode": 400,
"message": ["email must be an email", "name should not be empty"],
"error": "Bad Request"
}