# Troubleshooting

If you encounter any of the following issues or errors, SailPoint recommends that you follow the guidance provided below to resolve the error before contacting SailPoint Support.

For issues or errors that are not addressed in this connector guide, refer to the following resources for troubleshooting information:

- [SailPoint Identity Services Documentation](<https://documentation.sailpoint.com/saas/help/index.html>)
- [SailPoint Support Knowledge Base](<https://support.sailpoint.com/csm?id=kb_view2&amp;kb_id=05ff44289f011200550bf7b6077fcfa3>)
- [SailPoint Developer Community](<https://developer.sailpoint.com/>)

## Debug Logs

For information about managing additional source settings, including debug logging and downloading connector logs, refer to [Managing Additional Settings](<https://documentation.sailpoint.com/saas/help/sources/managing_additional_settings.html>).

> [!NOTE]
>
> For more information on SailPoint's REST APIs, refer to [Best Practices: REST API Authentication](<https://developer.sailpoint.com/docs/api/authentication/>) and [REST API - Update Source (Partial)](<https://developer.sailpoint.com/docs/api/update-source-v-1/>) in the SailPoint Developer Community.

## Multiple access error

**Issue**: SailPoint Identity Security Cloud Governance connector does not provision multiple access simultaneously.

**Resolution**: This is an API limitation wherein more than one entitlement cannot be requested simultaneously. You may either send a request for two entitlements one after another or include all required entitlements in a single access profile and then, provision it.

## Test connection fails while generating token

**Issue**: The following error appears during test connection:

`[ConnectorError] Error while generating token: xxxxxxx Bad client credentials (requestId: xxxxxxxxx)`

**Resolution**: Create an IP Address Allow List to enable access to the API. For more information regarding the steps to configure the IP Address Allow List, refer to [IP Address Allow List](<https://developer.sailpoint.com/docs/guides/ip-address-allow-list/>).

## Aggregation filters other than those documented are not working

**Resolution**: The connector supports only the filters listed on [this page](<https://developer.sailpoint.com/docs/api/beta/list-identities/>); any other filters, such as "like" is not supported.

## Command timed out error during provisioning

**Issue**: The following error appears during any provisioning operation:

`sp-connect command timed out.`

**Resolution**: Add the following entry to the source XML using the REST API in the body of the PATCH request:

`[{ "op": "add", "path": "/connectorAttributes/provisioningTimeout", "value": "600" }]`

> [!NOTE]
>
> For more information on SailPoint's REST APIs, refer to [Best Practices: REST API Authentication](<https://developer.sailpoint.com/docs/api/authentication/>) and [REST API - Update Source (Partial)](<https://developer.sailpoint.com/docs/api/update-source-v-1/>) in the SailPoint Developer Community.

## Update account operation fails with status code 400

**Issue**: The following error appears during update account operation:

`[ConnectorError] update account operation failed for: xxxxxxx Request failed with status code 400 (requestId: xxxxxxxxx)`

**Resolution**: Ensure to deselect **User Level Caching** to avoid creating cache during update, and then retry performing update account operation. For more information, refer to [Aggregation Settings](<https://documentation.sailpoint.com/connectors/identity_security_cloud_governance/saas/help/connecting.html#aggregation-settings>).

## Account aggregation is failing with the error codes 502 and 504

**Resolution**: Add the following entry to the source XML using the REST API in the body of the PATCH request (the value can be increased up to 3600):

`[{ "op": "add", "path": "/connectorAttributes/aggregateTimeout", "value": "600" }]`

## Read User (Get Object) is not bringing updated details after create or update provisioning operation

If the read user (get object) operation is not bringing updated details without any errors after a create or update provisioning operation, follow the resolution steps below.

**Resolution**:

Add the following entry to the source XML using the REST API in the body of the PATCH request:

`[{ "op": "add", "path": "/connectorAttributes/getObjectDelay", "value": 25 }]`

The default value of `getObjectDelay` is 20 seconds. This entry sets the `getObjectDelay` attribute to 25 seconds, allowing sufficient time for the changes to propagate before the read user (get object) operation is performed.

## Enable/Disable status not showing properly for accounts

**Resolution**: Ensure that the `identityState` and `identityStatus` attributes are added to the **Account Schema** of the SailPoint Identity Security Cloud Governance connector configuration page. For more information, refer to [Enable/Disable Statuses of Accounts](<https://documentation.sailpoint.com/connectors/identity_security_cloud_governance/saas/help/enable_disable_accounts.html>).

> [!NOTE]
>
> To create, deploy, and link the customizer to the source using the SailPoint CLI, refer to [Customizers](<https://developer.sailpoint.com/docs/connectivity/saas-connectivity/customizers>) documentation in the SailPoint developer community.

## Request failed with status code 400 during Identity Refresh

This error can occur during an Identity Refresh on the SailPoint Identity Security Cloud Governance connector when the system attempts to add an invalid user level to an identity.

**Resolution**: To resolve this issue, assign a valid User level other than Access Intelligence Center - Admin (`sp:aic-dashboard-admin`). For more information, refer to [User Levels in Entitlement Aggregation](<https://documentation.sailpoint.com/connectors/identity_security_cloud_governance/saas/help/user_levels.html>).

## User Level is not brought during account aggregation

**Issue**: The SailPoint Identity Security Cloud Governance connector does not bring User Level during account aggregation.

**Resolution**: Select **Enable User Level Caching** on the source configuration page. For more information, refer to [Aggregation Settings](<https://documentation.sailpoint.com/connectors/identity_security_cloud_governance/saas/help/connecting.html#aggregation-settings>).
