Skip to main content

Why do I see "Clock drift detected in SDK" processing errors?

Issue

My issue shows a processing error, and the details display the warning "Clock drift detected in SDK". I see wrong or out-of-sync event timestamps and want to know what the warning means and how to stop it.

Applies To

  • All SaaS Customers

  • All SDKs

Resolution

A clock drift warning is not critical. It means the clock on the device running your app is out of sync with the Sentry server, so Sentry corrects the event timestamp.

To reduce or resolve these warnings:

  • Sync the system clock on the device or host running your app (for example, enable automatic network time).

  • Make sure your SDK sends the sent_at value in the envelope header, which Sentry uses to correct the event timestamp.

  • Confirm sent_at uses the UTC time zone.

Did this answer your question?