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

## Invalid File Extension

If an incorrect **Role Details File Name** is provided without the extension of the file, the following error message appears during aggregation:

```text
"Exception during aggregation of Object Type account on Application SAP HANA. Reason: Unable to create iterator sailpoint.connector.InvalidConfigurationException: [InvalidConfigurationException] [Possible suggestions] Ensure that Role Details File Path is correct and accessible. [Error details] Invalid Role Details file path."
```

**Resolution**: Ensure that the .csv file extension is provided.

## Incorrect Connection Credentials

The following error message appears when incorrect inputs are provided for the **API URL**, **User name** or **Password**:

```text
For Invalid URL 403 Not Authorized.
```

```text
For Invalid UserName / Password 401 Not Authorized.
```

**Resolution**: Ensure that the inputs provided for the **API URL**, **User name** and **Password** are correct and valid.

## Test Connection Fails with an Error Message

```text
[ConnectorException] [Possible suggestions] Provide correct configurations, ensure user is active with correct set of permissions and credentials. [Error details] Error extracting response from XML
```

**Resolution**: Ensure the value of the **URL** is entered correctly. Refer to [SAP S/4HANA Cloud Prerequisites](<https://community.sailpoint.com/knowledge/SAP-S-4HANA-Cloud-Prerequisites>) for more information.

## CSV Count Does Not Match

The number of roles in the CSV file (X) does not match the number of roles in SCIM (Y).

```text
Exception during aggregation of Object Type Group on Application SAPS4HANACloudApp. Reason: sailpoint.connector.ConnectorException: [ ConnectorException ] [ Possible suggestions ] Provide correct configurations, ensure user is active with correct set of permissions and credentials. [ Error details ] [ InvalidConfigurationException ] [ Possible suggestions ] Please correct CSV file to match the CSV roles and direct aggregation roles.
```

Example - Current CSV count: 133, SCIM count: 134 \[ Error details \] Mismatch in the number of CSV roles and direct aggregation roles using SCIM API.

**Resolution**: Ensure that the latest role CSV file is uploaded and that the role count in the CSV file matches the number of roles in S/4HANA Public Cloud.

## Create User Option Is Not Checked, and the User Trying to Create an Account

```text
sailpoint.connector.ConnectorException: To create a business user, please enable 'create business user account' checkbox
```

**Resolution**: Ensure that the **Create Business User** checkbox is enabled in the configuration parameters.

## Create User Account Is Failing with an Error When the Worker ID API Is Used

```text
sailpoint.connector.ConnectorException: java.lang.Exception: Worker Id Api execution failed with error : java.lang.Exception: Could not find worker ID
```

**Resolution**: Ensure that the worker has valid work agreements assigned in the S/4HANA Cloud system.

## Incorrect Access Sunset Timing for SAP HANADB Users Due to Time Zone Differences

When a role is sunset for SAP HANADB users, the actual expiration time may be incorrect. It might not match the requester's expectations due to how different time zones are processed.

**Resolution**: The sunset end date will now respect the requester's local time zone (matching their computer's system time) instead of relying on a fixed server time zone.

Examples:

```text
Someone in EST picks end date 10 June → access ends at 12:00 AM on 10 June EST.
```

```text
Someone in IST picks the same date 10 June → access ends at 12:00 AM on 10 June IST.
```

## Account Aggregation Fails Due to SCIM Groups API Timeout

Account aggregation fails due to SCIM Groups API timeout issues.

**Resolution**:

1. Add `groupPageSize` in the connector configuration and set the value to 500.
2. If the issue persists, increase `connTimeout` to 5 minutes.
