Troubleshooting OAuth Configuration

The following table lists common OAuth configuration issues.

Symptom Resolution
Missing parameter error Verify that OAUTH_ENABLED, CLIENT_ID, and RESOURCE_SCOPE exist in the active agentparams.ini file.
invalid_scope Copy the resource scope again from the correct Cloud EPM resource and verify that it belongs to the same environment.
Token refresh fails Verify the secondary audience configuration and ensure Allow Token Refresh is enabled. Reinitialize the OAuth token if necessary.
401/ Unauthorized Confirm that the secondary audience contains the correct Cloud EPM URL and that the authorizing user has the required Cloud EPM roles and access.