Title: Plugin randomly stops syncing
Last modified: September 25, 2019

---

# Plugin randomly stops syncing

 *  Resolved [nabopheres](https://wordpress.org/support/users/nabopheres/)
 * (@nabopheres)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/plugin-randomly-stops-syncing/)
 * Hi,
 * I’m trying to identify a recurring problem with this plugin.
 * I’ve successfully configured the plugin to sync two object types from Salesforce
   to WordPress but after a few days of working it seems to stop working. Is only
   after I make any changes to the scheduling values ( 1 to 2 minutes o viceversa)
   that te plugin starts to sync again.
 * PHP error log is empty and the Logs Page are not displaying errors either.
 * What could be causing this?
    Should I switch to wp_cron option? and how would
   that work?
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-randomly-stops-syncing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/plugin-randomly-stops-syncing/#post-11972417)
 * [@nabopheres](https://wordpress.org/support/users/nabopheres/) this plugin doesn’t
   have another wp_cron option, so I can’t really speak to how you would do that.
   But here are some ways you could possibly learn more about what the problem is:
 * 1. In the Tools menu of WordPress, this plugin creates a menu item called Scheduled
   Actions. You can check there and see what actions the plugin is aware of and 
   if they’re successfully running.
    2. Turn on debug mode on this plugin at the
   main Settings screen. This creates additional log entries. It can create a lot
   of entries, but it will tell you if what API calls and data queries it is sending
   to Salesforce, and if there are any errors, what the results are. You may be 
   able to tell what is happening from that. 3. Install the [WP Crontrol](https://wordpress.org/plugins/wp-crontrol/)
   plugin and see that the cron jobs in the plugin are running.
 *  Thread Starter [nabopheres](https://wordpress.org/support/users/nabopheres/)
 * (@nabopheres)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/plugin-randomly-stops-syncing/#post-11973519)
 * Thank you for responding!
 * I wasn’t aware of that “Scheduled actions” tool so I just had a look and I found
   that around 10% of the pull requests failed. I mostly see this two error types
   displayed: “action timed out after 300 seconds”, “action failed: The requested
   resource does not exist”.
 * Is there any configuration I could change to prevent this? When one of this processes
   fail, does it prevent all other records from syncing for all future syncs?
 * Thanx.
 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/plugin-randomly-stops-syncing/#post-11982483)
 * [@nabopheres](https://wordpress.org/support/users/nabopheres/) if a task fails,
   if it’s a scheduled task it should keep running. It certainly shouldn’t stop 
   future syncs.
 * I think if you turn on debug mode in the plugin settings, you may get more useful
   logs. It should create a log entry for every query it is running. So for example,
   if it logs a SOQL query, you could run that query in the Salesforce developer
   console and see if it gives you any results. It’s potentially a complicated process
   to find out what’s going on, but I think debug is probably the next step.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin randomly stops syncing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/object-sync-for-salesforce.svg)
 * [Object Sync for Salesforce](https://wordpress.org/plugins/object-sync-for-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/object-sync-for-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/object-sync-for-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/object-sync-for-salesforce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/plugin-randomly-stops-syncing/#post-11982483)
 * Status: resolved