Flat 15% OFF starting from one instance! Sale Ends on 12 October 2025    Claim Now

 

Error Codes


When connecting WordPress to Salesforce, you may encounter certain error codes during the OAuth authorization or data synchronization process.

Below is a detailed explanation of each error code, its reason, and recommended actions.

 

MOSFSYNCERR001 – Invalid Client Credentials

Reason:

This error occurs when any of the following required Salesforce Connected App credentials are missing or incorrect:

  • Client ID
  • Client Secret
  • Redirect URI

It can also occur if Salesforce has not yet reflected changes in the Connected App (may take time).

Resolution:

  • Verify that Client ID, Client Secret, and Redirect URI in the plugin match the Salesforce Connected App configuration.
  • If you recently created or updated the Connected App, wait for changes to reflect.
  • Re-save the configuration after confirming details.

 

MOSFSYNCERR002 – Salesforce Returned an Error

Reason:

Salesforce returned an error message during client credential authentication. The specific error description will be displayed in the alert.

Resolution:

  • Review the error message displayed.
  • Common causes include:
    • Invalid credentials.
    • Missing or incorrect OAuth scopes.
  • Correct configuration and retry authorization.

 

MOSFSYNCERR003 – WordPress Returned an Error Object

Reason:

A WordPress error occurred during the Salesforce authorization process.

Resolution:

  • Review the error description provided in the alert.
  • Check:
    • Network connectivity between WordPress and Salesforce.

 

MOSFSYNCERR004 – Unknown Authorization Error

Reason:

An unknown issue occurred during the Salesforce authorization process.

Resolution:

  • Retry the authorization process.
  • If the issue persists:
    • Check plugin logs and PHP error logs.
    • Contact support with log details.

 

MOSFSYNCERR005 – Unknown Error (Details in Message)

Reason:

A general error occurred. Details will be displayed in the error message.

Resolution:

  • Review the message shown in the alert.
  • Take corrective action based on the description.
  • Enable debug logs if clarification is needed.

 

MOSFSYNCERR006 – Salesforce Object Sync Error

Reason:

Salesforce returned an error while syncing an object. The exact message will be displayed in the alert.

Resolution:

  • Review the error message.
  • Ensure:
    • The Salesforce object and fields exist.
    • The authenticated Salesforce user has required permissions.
  • Correct issues and retry sync.

For more information visit our Object Data Sync for Salesforce page or mail us at salesforcesupport@xecurify.com.