Audience is not a valid API address
Code: audienceinvalid
On this page
Code: audience_invalid
- HTTP status: 400 Bad Request
- Shown to the end user: Audience is not a valid API address
Request-specific detail for this error goes to the app or developer (API response, developer view, logs). The public page shows only the short message and the code.
Cause
An audience being added to an access app is empty, has spaces or control characters, or is not an absolute https URI (http only for localhost or a loopback address) with a host and no credentials, query or fragment. An audience decides which API accepts the app's roles, so the IdP refuses one it could not match exactly. Audiences an app already lists stay as they are.
Fix
Send the API's resource identifier as an absolute URI, for example https://api.example.com, without spaces, a query or a fragment.