Skip to main content

Overview

Caspen uses conventional HTTP status codes to describe request outcomes:
  • Codes in the 2xx range indicate success.
  • Codes in the 4xx range indicate an issue with the request.
  • Codes in the 5xx range indicate a server-side problem.
HTTP status codes communicate the category of the problem, and the JSON body provides the platform-formatted message (with field-level errors when validation fails).

HTTP status codes

2xx - Success

4xx - Client errors

5xx - Server errors