Configuring Retry Errors
Important
Add a list of retryable error messages to the attributes map of the
Provisioning Retry Errors
SailPoint connectors that support provisioning operations have the ability to retry a failed operation based on configurable error messages.
The retryableErrors entry in the connector configuration is a list of strings that the connector searches for in the error message received from the managed
If the error message contains one of the specified strings, the connector will initiate a retry attempt. However, if the configured error string is not present in the error message, the connector will consider the operation as failed and will not attempt a retry.
For example,
Note
For more information on SailPoint's REST APIs, refer to Best Practices: REST API Authentication and REST API - Update Source (Partial) in the SailPoint Developer Community.
Use the Identity Security Cloud API by sending a PATCH request to the /v3/sources/{id} endpoint:
PATCH https://{orgName}.api.identitynow.com/v3/sources/:id
In the body of the PATCH, enter the retryable errors as follows:
[
{
"op": "add",
"path": "/connectorAttributes/retryableErrors",
"value": [
"<error_message_1>",
"<error_message_2>"
]
}
]
Note
Error messages containing very specific information about date/time, sequence ID and so on must be avoided. Error codes or error message substrings would be good candidates for inclusion.
Aggregation Retry Errors
Aggregation retries can be set up for each aggregationRetryErrors attribute under the connectorAttributes section.
Use the Identity Security Cloud API by sending a PATCH request to the /v3/sources/{id} endpoint:
PATCH https://{orgName}.api.identitynow.com/v3/sources/:id
In the body of the PATCH, enter the aggregationRetryErrors as follows:
{
"op": "add",
"path": "/connectorAttributes/aggregationRetryErrors",
"value": ["Connection reset"]
}
In addition to specifying the aggregation retry errors, you can also configure the following options:
A string specifying the amount of time (in milliseconds) to wait before attempting a retry. The default value is 5000 milliseconds (5 seconds).
retryWaitTime as follows:
{
"op": "add",
"path": "/connectorAttributes/retryWaitTime",
"value": "5000"
}
A string defining the maximum number of retry attempts that will be performed. The default value is 3.
In the body of the PATCH, enter the maxRetryCount as follows:
{
"op": "add",
"path": "/connectorAttributes/maxRetryCount",
"value": "3"
}