Common Error Responses
Unauthorized (401)
Occurs when the request is made without proper authentication credentials or the user is not authorized to perform the action.
{
"error": "You need to sign in or sign up before continuing."
}
Not Found (404)
Occurs when a requested resource does not exist or cannot be located.
{
"errors": [
{
"message": "Target not found",
"type": "exception",
"timestamp": "2024-11-21T10:47:19.801Z"
}
]
}
Unprocessable Content (422)
Occurs when the request contains valid syntax but cannot be processed due to semantic errors (e.g., validation failures).
{
"errors": [
{
"message": "Name can't be blank",
"type": "validation_error",
"timestamp": "2024-11-21T10:48:27.430Z"
},
{
"message": "Hosts Invalid Hosts",
"type": "validation_error",
"timestamp": "2024-11-21T10:48:27.430Z"
}
]
}
Last modified: 5 days ago