Troubleshooting
On this page
Error Logs
While undelivered events are staying in the queue awaiting on delivery, you can see a list of current synchronisation errors and initiate delivery retry manually.
- On the My Connectors page select a Connector.
- Under your Connector’s name click on Synchronisation Error Logs.
- Choose a synchronisation direction - Salesforce for Salesforce to Gentrack object synchronisation or Core System for Gentrack to Salesforce object synchronisation by clicking on the respective tab.
- Select a time range: to show last 24 hours / 7 days / 1 month / 3 months.
- You will see a list of all the errors that remain unresolved in the selected time range.
- Some errors are re-attempted automatically, and the Retry button is disabled for this type of error. For errors that require user intervention, you can initiate another delivery attempt by clicking the Retry button on the right of an error record.
Alert Emails
Not only are synchronisation errors displayed in the Error Logs page but also can be sent via email. To subscribe to the alerts do the following:
- Once a Connector has been selected, under your Connector’s name click on Alert Emails.
- Click on Add Email button.
- In the Add Email dialog, specify the email address and click Add Email.
- Repeat the steps above if you wish to subscribe more email addresses.
An alert email will be sent once a day if there is at least one synchronisation error.
This setting applies for a selected Connector only, therefore repeat the subscription steps if you wish to be automatically notified about synchronisation errors occurred with other Connectors.
Connector Health Check
Test Connection to Core System
Refer to Test Connection to Core System for instructions.
Test Connection to Salesforce
You can validate the connection between Salesforce Sales Cloud Connector
and your Salesforce instances by using Test Connection functionality.
- Navigate to My Connectors under Connectors, find your Connector in the table and click on it.
- On the Salesforce Basic Information page, click on the Test Connection button.
- Thereupon, the Salesforce credentials and URL will be validated.
Validate Data Model
Accuracy of the data model is essential for data synchronisation between Gentrack billing system and Salesforce. To validate the data model, do the following:
- Navigate to the Salesforce Basic Information page and click the Validate Data Model button.
- Once complete - it may take up to several seconds - you will see the validation result. All errors in objects or attributes, if any, will be displayed on top of the dialog.
Any data mismatches must be resolved to allow successful data synchronisation.
Synchronisation
Invalid Replay ID Issue
The Salesforce Sales Cloud Connector subscribes to Salesforce Platform Events via Salesforce Streaming API. Salesforce Stream API has mechanisms to ensure message reliability and message durability.
Each Salesforce Platform Event has a unique Replay ID which can be used by the subscriber to track and replay any possible missing events, within the 24-hour retention period. The Salesforce Sales Cloud Connector keeps tracking the value of Replay ID to make sure it receives new events without missing any events due to network connectivity issues.
However, in very rare cases, it has been noticed that the retention period gets reset in Salesforce, and it results in the Invalid Replay ID error, as below. When this happens, the Salesforce Sales Cloud Connector will not be able to receive any new events.
The replayId {replay_id} you provided was invalid. Please provide a valid ID, -2 to replay all events, or -1 to replay only new events.
Refer to Streaming API Error Codes for more details.
Auto-Recovery & Possible Impact
Once the error is detected by the Salesforce Sales Cloud Connector, the value of Replay ID will be automatically reset to -2 in order to replay all events from the new retention period. Since the retention period has been reset, no events from the previous retention period can be replayed. Therefore, events from the previous retention period that were NOT received by the Salesforce Sales Cloud Connector, if there is any, will be lost.
Other Issues
Because of the distributed nature of different software applications it is not always possible to call services synchronously, so when one of the systems is unavailable or in an error state requests are queued and reattempted later. We classify issues into two types:
Automated Retry Errors | Manual Retry Errors |
---|---|
|
|
Below are some common errors you might encounter:
Error Message | Potential Cause(s) | Impact | Next Steps |
---|---|---|---|
Salesforce: invalid_grant - authentication failure | Invalid Salesforce Service Account username or password |
| Update Salesforce service account credentials in the connector configuration. |
Salesforce: invalid_client - invalid client credentials | Invalid Salesforce Connected App consumer secret |
| Update Salesforce consumer secret in the connector configuration. |
Salesforce: invalid_client_id - client identifier invalid | Invalid Salesforce Connected App consumer key |
| Update Salesforce consumer key in the connector configuration. |
Velocity: Invalid WSDL URL: [core-system-url] Code: 401 | Invalid Core System service account credentials. | Synchronisation will fail. | Update Core System service account credentials in the billing tenant configuration. |
Velocity: Invalid WSDL URL: [core-system-url] Code: 503 | Core System is unavailable. | Synchronisation will fail. |
|