---
title: "Invalid OTP Error during Approval"
canonical: "https://support.appfire.com/space/SUPPORT/3710845005/Invalid+OTP+Error+during+Approval"
format: markdown
---
This article addresses an issue when using Comala Document Management for document approvals in Confluence Cloud: receiving an "Invalid OTP" error despite entering the correct code.

### Problem

When attempting to sign a document in Confluence using an authenticator app (e.g., Microsoft Authenticator), the system reports an "Invalid OTP" error even if the code entered matches the one displayed in the app.

### Cause

This error typically occurs when the time on the mobile device is not perfectly synchronized with global time. Since One-Time Passwords (OTP) are time-sensitive, a discrepancy as small as 30 seconds can cause the code to be rejected.

### Solution

Ensure your mobile device's time settings are synchronized:

1. Open your mobile device's **Settings**.
2. Navigate to **Date and Time**.
3. Ensure that **"Set Automatically"** or **"Automatic Date and Time"** is enabled.
4. If it is already enabled, toggle it **OFF** and then back **ON** to force a fresh synchronization with the network time.