Issue
To guide on how to troubleshoot and resolve the 'Twilio sync job failed' error by restarting the sync job, verifying incoming messages in Salesforce, and providing steps to escalate the issue to Twilio Support if the problem persists.
Product
Twilio for Salesforce
Environment
Twilio Console
Resolution
Make sure you are on the latest version of Twilio for Salesforce. You can check the latest version here.
If you're on the updated version, there are a few things you can try:
- Stop your current jobs and restart them.
- Try to increase the time between jobs.
- Ensure all your flows are built on top of Twilio message object.
- Reduce the messages count (by default, T4SF pulls 1k messages, this can be reduced to up to 200).
- Check if you might have any custom logic written on message records - if yes, that logic needs to be skipped during the sync job execution.
- Make sure your flows are running asynchronously.
After following the above steps if you still are facing issues, you can collect the error logs and share it with our Product team.
They can be found under “Apex Jobs” in your instance. If you sort by “Status Detail”, you will see the error message(s).