Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Problem

Sometimes a user’s device has a system time which is out of sync with the server time. When this happens, the user will have an error in the log during a create request, such as while syncing a service report.

Example

The error will look something like this:

doSoapRequest: create
.
.
.
Error(ERROR TYPE) field (FieldName) description (Create Date(Date) in the future.: Created Date)
----- doCreate response -----
Created Date Error log example Edited.png

Reason

This support ticket response explains why this happens:

Solution

The solution to this issue is to disable settings on the server and make sure the user’s device time is set automatically.

Salesforce Server Settings Changes

Disable the “Set Audit Fields upon Record Creation and Update Records with Inactive Owner’s” User Permissions by performing the following steps:

  1. Log into your Salesforce org as an administrator.

  2. Navigate to Setup.

  3. Navigate to User Interface.

  4. Uncheck the box next to Enable “Set Audit Fields upon Record Creation and Update Records with Inactive Owner’s” User Permissions.

  5. Click the Save button.

User Device Settings Changes

Ensure the time zone and the time are set automatically and then synced by instructing the user to perform the following steps:

  1. Go into Settings > Time & language > Date & time.

  2. Ensure the toggle for Set time zone automatically is set to On.

  3. Ensure the toggle for Set time automatically is set to On.

  4. Under Additional settings, click the Sync Now button to sync the time settings for the server: time.windows.com.

  • No labels