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

## Test Connection Errors

### IP address not on whitelist

The following error message displays during the Test Connection operations:

```javascript
{"detail":"IP address 103.93.47.143 is not allowed to access this resource.","error":403,"errorCode":"IP_ADDRESS_NOT_ON_WHITELIST","parameters":["103.93.47.143"],"reason":"Forbidden"}
```

**Resolution** - Ensure that all the [Prerequisites](<https://documentation.sailpoint.com/connectors/mongodb/cloud_atlas/va/help/index.html#prerequisites>) are met, and that all the VA's IP addresses configured for the MongoDB Cloud - Atlas source are in the list of trusted IPs on the managed system.

### MongoDB - Password Bad Request: The required attribute was not specified

Account creation fails when the password starts and ends with a dollar sign (`$`), resulting in the following error:

```javascript
Error: openconnector.ConnectorException: {"detail":"The required attribute password was not specified.","error":400,"errorCode":"MISSING_ATTRIBUTE","parameters":["password"],"reason":"Bad Request"}
```

**Resolution** - The dollar sign (`$`) is a reserved character, serving as a placeholder in request bodies or parameters. Any value enclosed within double dollar signs (`$$`) is expected to be replaced with its corresponding value. Therefore, the password must not begin or end with a dollar sign (`$`).

## Entitlement Errors

### User does not add have user administrator role

The following error message displays during Add/Remove Entitlement operations:

```javascript
{"detail":"The currently logged in user does not have the user administrator role for any group, team, or organization containing user 5ed60bdb5e57f641091cf871.","error":401,"errorCode":"NOT_USER_ADMIN","parameters":["5ed60bdb5e57f641091cf871"],"reason":"Unauthorized"}
```

**Resolution** - Verify that the service account has sufficient permissions.

### Can't demote last owner of the group

The following error displays during Remove Entitlement operations:

```javascript
Cannot demote the last owner of the group.
```

**Resolution** - Ensure that you have assigned at least one Project Owner.

## Other Errors

### Error in Revoking Role

The following error message displays when revoking all organization roles:

```javascript
Cannot remove all roles from the Atlas user.
```

**Resolution** - Ensure that you are not deleting all the organization roles.
