Troubleshooting Okta Sync Failure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
IGA Articles
3 min read
L3 Networker
No ratings

Issue

1. Error: Could not connect to Okta

{"error":"invalid_grant","error_description":"The refresh token is invalid or expired."}
{"errorCode":"E0000006","errorSummary":"You do not have permission to perform the requested action","errorLink":"E0000006","errorId":"oaejBPJmHL6SiivqVnBDbkqGQ","errorCauses":[]}
{"error":"unauthorized_client","error_description":"The client is not authorized to use the provided grant type. Configured grant types: [authorization_code]."}

2. Error-HTTP Error Response: 401 Unauthorized with error response

3. HTTP Error Response: 403 Forbidden

4. Errorcode: “invalid_client”

 

5. Okta - No permissions come in even with successful sync

 

Cause

1. Error: Could not connect to Okta

Root cause: This error occurs because the Okta account trying to sync Okta does not have access to the OAuth application created for Idira IGA.

2. Error-HTTP Error Response: 401 Unauthorized with error response

Root cause: Either the access token or refresh token is expired or the user who wants to perform the sync in Idira IGA does not have the Super Administrator role in Okta.

3. HTTP Error Response: 403 Forbidden

Root cause: This error occurs because scopes are not correctly set.

4. Errorcode: “invalid_client”

Root cause: The domain you used for the configuration may not be correct.

 

5. Okta - No permissions come in even with successful sync

Root cause: The user who performed the sync did not have permission to view Okta admin permissions.

 

 

Resolution

1. Error: Could not connect to Okta

Solution: You must be a Super Administrator in okta and make sure the Okta account used to perform the sync has access to the OAuth application created for Idira IGA.

    1. Log in to your Okta admin account.
    2. Click your profile and click Your Org.
    3. Click Applications.
    4. Click the Assignments tab.
    5. Select the OAuth app to which you want to assign a user.
    6. Click Assign > Assign to People or Assign to Groups based on your requirement.
    7. Search for the user to whom you want to assign the application and click Assign next to the desired user.
    8. Click Save.

 

2. Error-HTTP Error Response: 401 Unauthorized with error response

Solution: Create a new OAuth application and set the type to Use persistent token so that the refresh token does not expire and make sure you have the Super Administrator role. See Integrate Okta OAuth 2.0 authorization grant flow for more information.

 

3. HTTP Error Response: 403 Forbidden

Solution: See Integrate Okta OAuth 2.0 authorization grant flow for more information on the correct scopes.

 

4. Errorcode: “invalid_client”

Solution: See Integrate Okta OAuth 2.0 authorization grant flow for more information on how to find the correct domain.

 

5. Okta - No permissions come in even with successful sync

Solution: Make sure the user who performs the sync has the Super Administrator role in Okta. See Integrate Okta OAuth 2.0 authorization grant flow for more information.

 

 

Rate this article:
  • 231 Views
  • 0 comments
  • 0 Likes
Labels
Article Dashboard
Version history
Last Updated:
‎11-05-2026 11:49 AM
Updated by: