<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
PagerDuty Provisioning "Error while verifying if user: HTTP error 401"
Okta Integration Network
Okta Classic Engine
Okta Identity Engine
Overview

PagerDuty provisioning flow fails with the following error visible in the Okta dashboard:

 

Automatic provisioning of user <username> to app PagerDuty failed: Error while verifying if user <username> exists: HTTP error 401

 

Screenshot of the HTTP error 401

 
Applies To
  • PagerDuty
  • Provisioning
  • Error
Cause

The API token used for creating the API connection is invalid.

Solution

Follow the steps or video below.

  1. Go to Okta Admin Console and navigate to Applications > PagerDuty > Provisioning > Integration > Edit.
  2. Enter the API key that was generated in the PagerDuty Administrator Portal in the API Token field.
  3. Enter the admin username with admin or owner permissions in the Admin Username field.
  4. Click Test API Credentials, verify the connection was successful, and then click Save.
  5. Attempt the failed tasks again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.

Tasks

  1. After locating the failed task for the user that should be retried, click Retry Selected.

Related References

Loading
PagerDuty Provisioning "Error while verifying if user: HTTP error 401"