Files
better-auth/docs/content/docs/reference/errors/invalid_code.mdx
T

13 lines
401 B
Plaintext

---
title: invalid_code
description: The provided authentication code is invalid or expired.
---
This error occurs when the authentication code is invalid, expired, or cannot be verified.
## How to fix
* Restart the authentication flow to generate a new code
* Ensure the code is used only once and within its valid time window
* Verify that the correct code is being sent to the callback endpoint