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

## Test Connection Errors

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/saas/help/index.html#prerequisites>) are met, and that all the VA's IP addresses configured for the MongoDB Cloud - Atlas SaaS source are in the list of trusted IPs on the managed system.

## Entitlement Errors

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.

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.

## Revoking All Organization Roles Fails

The following error message displays when revoking all organization roles:

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

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