Two-Factor Authentication Problem

Hello everyone !

I have a problem and I need your help. I use N8N via Railway. Today I redeployed and when I log in again it doesn’t allow me to log in.

Neither the Authenticator app code nor the recovery code works, it simply appears that the code is not valid or has already been used.

Please help!!!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

I checked my deployment logs, and found this:

error:1C800064:Provider routines::bad decrypt
Error: error:1C800064:Provider routines::bad decrypt

Anyone can assist me with this issue and how to resolve it ?

Hi @SeBraMarketing,

Welcome to the community :tada:

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!


I haven’t used Railway to know this first hand but the error error:1C800064:Provider routines::bad decrypt in Railway suggests a decryption failure, often caused by an incorrect encryption key. Do you have the N8N_ENCRYPTION_KEY env var set?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.