# 18. Lỗi không đăng nhập được với mã 2FA

## **Nguyên nhân**

**Nguyên nhân chính:** Lỗi này thường xảy ra khi thời gian trên máy tính của người dùng lệch nhiều so với thời gian thực, gây ra sự không trùng khớp về mã 2FA khi đăng nhập

**Dấu hiệu nhận biết:** Người dùng có thể gặp vấn đề sau khi khởi chạy profile và nhập mã 2FA, dù đã kiểm tra kỹ và nhập đúng mã.

<figure><img src="/files/GeoUdiPzegMpWRmvQivX" alt=""><figcaption><p>Lỗi đăng nhập mã 2FA không hợp lệ</p></figcaption></figure>

## Cách xử lý khi gặp lỗi

**Bước 1: Kiểm tra thời gian máy tính:**

* Đầu tiên, kiểm tra thời gian hiển thị trên máy tính.
* Nếu thấy thời gian chênh lệch nhiều so với thời gian thực, cần điều chỉnh lại thời gian máy tính để đồng bộ với thời gian hiện tại.

<figure><img src="/files/VyDeFddDXsyosATsTAZ8" alt=""><figcaption><p>Kiểm tra lại thời gian trên máy tính</p></figcaption></figure>

{% hint style="info" %}
Tham khảo thêm cách điều chỉnh thời gian trên máy tính tại đây: <https://thanhnhancomputer.vn/tin-tuc/huong-dan-thay-doi-thoi-gian-ngay-gio-tren-may-tinh-windows-10-khi-bi-sai.html>
{% endhint %}

**Bước 2: Lấy lại mã 2FA và khởi chạy lại profile:**

* Lấy lại mã 2FA
* Khởi chạy lại profile để áp dụng mã 2FA mới và thử đăng nhập lại.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tailieu.kikilogin.com/cac-loi-thuong-gap-va-cach-xu-ly/18.-loi-khong-dang-nhap-duoc-voi-ma-2fa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
