Skip to main content

Error Handling

The API returns HTTP status codes to explain whether a request succeeded or failed.

Common Status Codes

Status CodeMeaning
200Request successful
201Created successfully
400Invalid request
401Not authenticated
403Permission denied
404Resource not found
500Server error

Error Response Example

{
"detail": "Patient not found"
}