diff --git a/shared/src/main/java/com/couchbase/lite/Replicator.java b/shared/src/main/java/com/couchbase/lite/Replicator.java
index <HASH>..<HASH> 100644
--- a/shared/src/main/java/com/couchbase/lite/Replicator.java
+++ b/shared/src/main/java/com/couchbase/lite/Replicator.java
@@ -353,7 +353,12 @@ public final class Replicator extends NetworkReachabilityListener {
         }
     }
 
+    /**
+     * Reset checkpoint
+     */
     public void resetCheckpoint() {
+        if (this.c4ReplStatus.getActivityLevel() != kC4Stopped)
+            throw new IllegalStateException("Replicator is not stopped. Resetting checkpoint is only allowed when the replicator is in the stopped state.");
         config.setResetCheckpoint(true);
     }
Fixed #<I> - <I>: throw InvalidOperationException in case of failing to call resetCheckpoint() - (#<I>)