When I go to settings->n8n API, the ‘Create an API Key’ button is greyed out. There is 1 key there but it’s stopped working.
I tried making a new n8n account credential using :
Base URL https://***.up.railway.app
API Key: ( my N8N_ENCRYPTION_KEY from the railway environment variables)
The credential test says ‘Connection tested successfully’ , but then I noticed whatever I enter for the API key, it says it’s successful, so perhaps the key I got from my railway installation could be wrong.
when I try to use the credential in the node, everything returns a 404 resource not found error.
I think that the key that is already set in n8n settings was part of the template installation I created, and not one that I set.
Might there be a way to create a new one from the terminal?
the N8N_ENCRYPTION_KEY isn’t your API key so you can’t use that.
Could you add a screenshot? Looking at my n8n and I can’t quite understand where you entered the data.
ok, the first screenshot shows you have an API key already. If you don’t know the API key you will have to recreate it (delete the old one and create a new one)
Please be aware that anything using that API key will stop working.
After recreating the API key (best to save it in your Password manager) edit the n8n node and insert the new API key.