broker.invalid_target
target is not the host of the sign-in or sign-out request named by state, or that host is not a verified, active host of an active partner of the portal class the request is for. The broker never redirects to it.
| Code | broker.invalid_target |
|---|---|
| HTTP status | 400 ((error page)) |
| Category | Validation |
| Arguments | None (args is {}) |
Example response
{
"type": "https://docs.test.konsolutelab.uk/errors/broker.invalid_target",
"title": "…",
"status": 400,
"code": "broker.invalid_target",
"args": {},
"traceId": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
"instance": "/api/v1/…"
}Handling it
Branch on code, not on title or the status alone, and log traceId. Codes are stable; new codes may appear, so fall back on the HTTP status for a code you do not know. See Handling errors and the list of codes.