<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Okta Provisioning Fails With Invalid API Credentials Error

Okta Integration Network
All Engines
Okta Classic Engine
Okta Identity Engine

Overview

Okta generates a provisioning error when the credentials for the application API connection are invalid. Re-authenticating the API integration in the Okta Admin Console resolves this issue. The following error appears on the Okta dashboard during the provisioning flow:

 

Automatic provisioning of user <username> to app <app name> failed: The credentials used to connect to the API were invalid; please check your configuration

 

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Application Provisioning
  • Application Programming Interface (API)

Cause

The error occurs because the credentials for the application API connection are invalid.

Solution

What resolves the invalid API credentials provisioning error?

Re-authenticate the application API integration in the Okta Admin Console and retry the failed provisioning tasks.

  1. Navigate to the Okta Admin Console and go to Applications > Applications.
  2. Select the affected application.
  3. Go to the Provisioning tab and select Integration.
  4. Select Edit.
  5. Select Re-authenticate with <app name>.
  6. Sign in to the application as an administrator.
  7. Verify that a message appears confirming the successful authentication.
  8. Select Save.
  9. Navigate to Dashboard > Tasks.
    Tasks
  10. Select the failed task and select Retry Selected.
Loading
Okta Support - Okta Provisioning Fails With Invalid API Credentials Error