Skip to content

ErrorDetails

HTTP API schema

← HTTP API reference

Optional typed context for an error. Fields are additive and only populated when the error can safely expose that context to API clients.

ErrorDetails fields

endpointIdstring

Port OS endpoint ID involved in the failed dispatch.

discoveryEndpointIdstring

Port OS provider endpoint (type ENDPOINT_PLUGIN) of the connection to send `discover-routes` to when `code` is `TARGET_UNSUPPORTED` because the route must be rediscovered.

pluginIdstring

Port OS plugin ID that reported the failure.

pluginRouteIdstring

Plugin-owned route identifier involved in the failed dispatch.

providerstring

Third-party provider or bridge name that reported the failure.

directivestring

Message namespace and name or provider directive that failed.

parameterstring

Request parameter or capability value that caused the failure.

minimumnumber

Minimum accepted value when `code` is `VALUE_OUT_OF_RANGE`.

maximumnumber

Maximum accepted value when `code` is `VALUE_OUT_OF_RANGE`.

actualstring

String representation of the submitted value when the plugin can safely report it.

currentModestring

Current endpoint mode when `code` is `NOT_SUPPORTED_IN_CURRENT_MODE`.

retryAfterSecondsinteger

Suggested retry delay for rate-limit or provider-unavailable failures.

minimum: 0

correlationIdstring

Provider or plugin correlation ID useful for support.

providerCodestring

The third-party provider's own error code, for support. It is opaque and provider-specific; branch on `code` and `family` instead.

correlationTokenstring

Token that correlates an outcome-unknown dispatch with its eventual result.

fieldErrorsarray<ErrorFieldError>

The request fields that were rejected, when the error is about the request's content.

View source specification ↗