Skip to main content
An unknown target_segment value was supplied.
422 application/problem+json
Every PermitCore error is RFC 9457 application/problem+json. Branch on type (a stable URI), not on title or detail (human-readable, may change).

When it occurs

One or more target_segment values are not in the canonical segment enum. The response detail enumerates the full accepted whitelist.

How to fix

Use one of the canonical segment slugs (see Cohorts). target_segment accepts a comma-separated list; every value must be valid. Not retryable — fix the request before resubmitting; retrying unchanged returns the same error. See the full error catalog for the response shape and retry matrix. Every response carries an x-request-id header — include it in any support request.