# Troubleshooting
# Client Access Errors
# Unauthorized Client
This error means the Identity Server doesn’t have a matching Client Configuration for the information provided. Client IDs are per customer, per application. They must provide a Client ID, Return URL, and Scopes that match what is stored in the Identity database. Here is a sample submission:
{
"client_id": "SampleAppId",
"redirect_uri": "com.sampleapp.company:/authredirect",
"authorization_scope": "api1 openid profile",
"discovery_uri": "https://login.identityapp.com/.well-known/openid-configuration",
"authorization_endpoint_uri": "https://login.identityapp.com/authorize",
"token_endpoint_uri": "https://login.identityapp.com/token",
"user_info_endpoint_uri": "https://login.identityapp.com/userinfo",
"https_required": true
}
In the sample above, note the client ID SampleAppId and Return URL com.sampleapp.company:/authredirect. These values match the Client configured in the Clients table in Identity and the ClientRedirectUris table. The scopes listed must also be added for the given client ID in the ClientScopes table. If the values provided don’t match, the application is likely to get a message similar to the following: