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

## Create or Update Account Operation Fails with an Error Message

The operation fails with the following error message:

```text
[ InvalidRequestException ] [ Possible suggestions ] Please check if provided payload has valid attributes [ Error details ] Error while performing operation : Create Account Error code : 400 { "Errors" : [ { "description" : "Invalid, syntactically incorrect or unparseable input provided: department", "code" : "400", "uri" : "urn:oracle:apps:scim:errors:1.0:input:invalid" } ] }
```

**Resolution**: Ensure that the provided payload has valid attributes. Use the supported attributes for create and update operations.

## Create or Update Operation Fails with an Error Message When Passing the personNumber in the Provisioning Plan

The operation fails with the following error message when the PersonNumber being passed in the provisioning plan has multiple work relationships.

```text
Applying List binding LOV_PersonNumber with given set of values leads to multiple matching rows for a row of type:UserAccount, key oracle.jbo.Key[ 300000020907599 null null null
```

**Resolution**: Add the following attribute using [REST API - Update Source (Partial)](<https://developer.sailpoint.com/docs/api/update-source-v-1/>) and then try creating a user with the personNumber.

Key = `provisionPersonId` Value = `true`

`provisionPersonId` is a boolean attribute.

> [!NOTE]
>
> Ensure that you pass the valid `personNumber` in the provisioning plan. It should not be the existing assigned `personNumber` that is assigned to other accounts.

## Create Operation Fails with an Error Message When Passing the personNumber in the Provisioning Plan

The operation fails with the following error message:

```text
["openconnector.ConnectorException: Error while performing operation : Create Account Error code : 409 {
 "Errors" : [ {
 "description" : "Exception in IIP API: Ldap request processing failed - PER_IIP_220: An user with username 1213278@sndrvrtest.com already exists in Identity Store",
 "code" : "409"
 } ]
}"]
```

OR

```text
openconnector.InvalidRequestException: [ InvalidRequestException ] [ Possible suggestions ] Please check if provided payload has valid attributes [ Error details ] Error while performing operation : Create Account Error code : 400 { "Errors" : [ { "description" : "Invalid, syntactically incorrect or unparseable input provided: department", "code" : "400", "uri" : "urn:oracle:apps:scim:errors:1.0:input:invalid" } ] }
```

OR

```text
Applying List binding LOV_PersonNumber with given set of values
```

**Resolution**: Add the following attribute using the [REST API - Update Source (Partial)](<https://developer.sailpoint.com/docs/api/update-source-v-1/>):

- Key= `retryWaitTime` Value= `60000` in ms, default: 30000 ms
- Key=`maxRetryCount` Value=`3`, default: 3
- Key=`retryableErrors` Value=\[`error messages`\]

> [!NOTE]
>
> - The default error message is, "`Applying List binding LOV_PersonNumber with given set of values`". If you do not mention any other error message, the connector will use the default error message and retry.
> - Ensure to pass the valid `personNumber` in the provisioning plan and it should not be the existing assigned `personNumber` (that is, assigned to other accounts).
