# 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>).

## The Dynamics 365 CRM Source Did Not Properly Link Security Group After Aggregation

**Issue**: After performing an entitlement aggregation or full aggregation the Dynamics 365 CRM source is not able to link groups for the user. If a single account aggregation (getObject) is performed for the same user, then it brings the entitlements.

**Resolution**: Change the page size from 500 (default) to 1 and retry an entitlement aggregation or full aggregation.

## The Dynamics 365 CRM Source Did Not Pull All Entitlements After Aggregation

**Issue**: After performing an entitlement aggregation or full aggregation the Dynamics 365 CRM source is not able to pull entitlements for the user. If a single account aggregation (getObject) is performed for the same user, then it brings the entitlements.

**Resolution**: Change the page size from 500 (default) to 100 and retry an entitlement aggregation or full aggregation.

## Failing Test Connection / Account Aggregation

Test connections and account aggregation processes fail with the following error message:

```text
[ TimeoutException ] [ Possible suggestions ] Tune the parameter <sshTimeOut>. [ Error details ] Timeout occurred while reading command response.
```

> [!NOTE]
>
> Add a portion of the error message to your `retryableErrors` list, as shown in the following examples.

**Resolution**: Update the following attributes in the source and retry the operation:

```json
[
    {
        "op": "add",
        "path": "/connectorAttributes/maxRetryCount",
        "value": 5
    },
    {
        "op": "add",
        "path": "/connectorAttributes/retryWaitTime",
        "value": 60000
    },
    {
        "op": "add",
        "path": "/connectorAttributes/retryableErrors",
        "value": [
            "Service Unavailable",
            "ConnectorError",
            "RuntimeException",
            "Timeout occurred"
        ]
    }
]
```

## Aggregation Failure

**Issue**: Aggregation processes fail with the following error:

```text
org.apache.http.NoHttpResponseException: vu59535.west-us-2.privatelink.snowflakecomputing.com:443 failed to respond OR connector.sdk.webservices.exception.WebServicesSdkException: java.net.SocketException: Socket closed
```

**Resolution**: Add the following attributes using the SailPoint REST API, then retry the aggregation process.

> [!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.

```json
[
    {
        "op": "add",
        "path": "/connectorAttributes/conSnowflakeApiRetrySleepTimeSeconds",
        "value": 60000
    },
    {
        "op": "add",
        "path": "/connectorAttributes/conSnowflakeApiRetryMaxAttempts",
        "value": 3
    },
    {
        "op": "add",
        "path": "/connectorAttributes/retryableErrors",
        "value": ["error_messages"]
    }
]
```
