Error handling
Nexta API can return three types of errors.
Errors without content
Some of the errors are returned without JSON content. E.g. 404 NotFound.
Bad request errors
If request body validation is performed and body is not valid or contains invalid values we will return 400 BadRequest HTTP Status code and result in following format:
{
"PropertyName": ["Validation message", "Validation message 2"],
"PropertyName2": ["Validation message 3"]
}
Service errors
Any other error will be returned as ServiceError JSON object.
Field | Type | Description |
---|---|---|
Service | string | Service name |
Code | string | Error code |
HttpStatusCode | int | HTTP Status Code |
Message | string | Error message |
TraceId | GUID | Error trace |