ExternalApiProblem
RFC 9457 problem details returned by the External API.
Stable machine-readable problem code.
Possible values: [invalid-request, invalid-cursor, invalid-correlation-id, authentication-failed, access-denied, not-found, method-not-allowed, not-acceptable, unsupported-media-type, validation-failed, conflict, service-unavailable, internal-error]
authentication-failedHuman-readable explanation specific to this occurrence.
The bearer token is missing or invalid.URI identifying this specific problem occurrence.
urn:uuid:b495f901-5456-4df6-a4da-cc750638c66bServer-generated identifier used to correlate this HTTP attempt.
b495f901-5456-4df6-a4da-cc750638c66bHTTP status code for this occurrence.
401Short, human-readable summary of the problem category.
Authentication failedStable URI identifying the problem category.
https://docs.portfolio.exchange/external-api/v1/problems/authentication-failedviolations object[]required
Field-level violations, or null when the problem is not a validation failure.
Stable machine-readable validation code.
invalid-formatHuman-readable explanation of the validation failure.
Must be an ISO 4217 alphabetic currency code.JSON Pointer locating the invalid request value.
/currency{
"code": "authentication-failed",
"detail": "The bearer token is missing or invalid.",
"instance": "urn:uuid:b495f901-5456-4df6-a4da-cc750638c66b",
"requestId": "b495f901-5456-4df6-a4da-cc750638c66b",
"status": "401",
"title": "Authentication failed",
"type": "https://docs.portfolio.exchange/external-api/v1/problems/authentication-failed",
"violations": "Unknown Type: array,null"
}