Comment on page
Error object structure and errors response codes
Simple OKR uses conventional HTTP response codes to indicate the success or failure of an API request. In general: codes in the
2xxrange indicate success. Codes in the
4xxrange indicate an error that failed given the information provided (e.g., a required parameter was omitted). Codes in the
5xxrange indicate an error with Simple OKR servers.
Errors returned by all Simple OKR APIs use the same error response structure:
"message": "invalid request",
"name": "name is required"