Error Handling

All endpoints follow a consistent error response format:

{
  "Status": "ERROR",
  "Message": "Error message here",
  "Details": "Detailed error information (if available)"
}

Common error scenarios:

  1. Authentication failures

  2. Invalid input data

  3. Resource not found

  4. Server errors

  5. Unique constraint violations (duplicate values)

  6. File validation errors (type/size)

Last updated