This is a frustrating one but it’s fixable without waiting for support.
What’s happening: n8n’s license activation system ties the key to the first machine ID that activates it. If your n8n instance restarted with a different machine ID (happens with Docker if you didn’t persist the .n8n folder), the key thinks it was already used on a different machine.
How to fix it:
Stop your n8n container
Delete (or rename) the ~/.n8n directory inside the container / your mounted volume – specifically look for config or any file storing the instance ID
Restart n8n – it’ll generate a fresh instance ID
Try activating the key again
The key part: make sure your Docker setup has a persistent volume for .n8n data so this doesn’t happen again:
volumes:
- ~/.n8n:/home/node/.n8n
If the key still shows “already used” after that, go to the original activation email and look for a “manage license” or “reset” link – n8n does provide a way to reset activation. If there’s no link, reply to that email explaining you did a clean reinstall. Their support team resets these pretty quickly.
The “invalid format” error on your first attempt is also a clue – it probably didn’t actually activate successfully the first time, but the system flagged the key as used anyway. That’s a known edge case they’ve had reports of before.