Errors

Status codes and the error response format.

{
  "code": 400,
  "error": "Validation Error",
  "message": "Invalid UUID",
  "issues": [{"path": ["id"], "message": "Invalid UUID"}],
  "time": 1793350800000
}

message is in English and meant for logs. time is in milliseconds since the Unix epoch. issues only appears for invalid parameters.

StatusMeaning
400Invalid parameter, or a group key without X-Practice-Id
401The key is missing, wrong or revoked, or covers no active practice
403The key doesn't cover the practice in X-Practice-Id, or that practice's account is disabled
404The path doesn't exist
429Rate limit exceeded. Wait for the seconds in Retry-After
500Error at Swyp. Retry later or email team@swyp.be

Was this page helpful?

Last updated on