Error models
This article describes API error formats
Based on response HTTP status code, one of following error models are returned in response body.
ProblemDetails
A machine-readable format for specifying errors in HTTP API responses based on https://tools.ietf.org/html/rfc7807.
Name | Type | Description |
---|---|---|
|
| A URI reference [RFC3986] that identifies the problem type. |
|
| A short, human-readable summary of the problem type. |
|
| The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. |
|
| A human-readable explanation specific to this occurrence of the problem. |
|
| A request URI path. |
|
| Unique identifier to represent this request in trace logs. |
|
| API error code, if applicable. |
| Information about resource present in request. Available when errorCode is 6 (Version mismatch) |
PortosValidationProblemDetails
This class inherits all properties from ProblemDetails
, and adds properties listed below:
Name | Type | Description |
---|---|---|
| Collection of errors. Each element represents one broken validation rule. |
PortosValidationProblemDetailsError
Name | Type | Description |
---|---|---|
|
| Property name. |
|
| Message that describes error. |
|
| One of validation constraints, if applicable. |
ResourceInfo
Name | Type | Description |
---|---|---|
|
| |
|
| Unique resource identifier |
|
| Resource version |
Last updated