<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
Genesys Cloud API Integration Error "Invalid login Credentials PubApiError Status 401"
Okta Integration Network
Okta Classic Engine
Okta Identity Engine
Overview

Genesys Cloud API authentication flow fails with the following error visible in the Okta dashboard:

 

Error authenticating: Unauthorized. Errors reported by remote server: Invalid login credentials.; PubApiError[status=401,code=bad.credentials, message=Invalid login credentials.]; contextId:[ ***** ]

 

Error Message

Applies To
  • Genesys Cloud
  • Provisioning
Cause

This error is generated because the SCIM Domain and/or API Token used to create the API connection are invalid.

Solution
  1. Go to the Okta Admin Console and navigate to Applications > Applications > Genesys Cloud > Provisioning > Integration, then click the Edit button.

  2. Click Edit and complete these fields (Refer to Genesys's documentation Configure Okta for Genesys Cloud SCIM).

    • SCIM Domain: Enter the URL of the SCIM endpoint. Use the domain associated with the location of the Genesys Cloud organization.
    • API Token: Enter the bearer token. The bearer token is the access token returned when making an API call in Postman. For more information, see Genesys' documentation on token generation.
  3. Click Test API Credentials, verify the successful connection, and click Save

 

Related References

Loading
Genesys Cloud API Integration Error "Invalid login Credentials PubApiError Status 401"