# audience-invalid

`https://ckrets.ai/problems/audience-invalid` is a problem type of the ckrets.ai API (RFC 9457: the body is
`application/problem+json` with `type`, `title`, `status` and `detail`; every problem from `/v1` also carries `requestId`).

| Status | Also in the answer | What to do |
|---|---|---|
| 400 | - | the audience has a type this version takes but names no single recipient: an OIDC audience whose claims would match more than one job. Name the job: `sub`, or on GitHub Actions `repository` (or `repository_id`) with `ref` or `job_workflow_ref`; under GitLab or CircleCI `sub` is required and `repository` or `job_workflow_ref` is refused, since their tokens never carry them. Nothing was made. (A malformed key id or public key is `400 invalid-request`.) |

Every type, with its retry rule and headers: [limits.md, "Errors, retries and headers"](/limits.md#errors-retries-and-headers).
