Credentials not shown in editor

I’m running a fresh Docker installation of n8n. While I can create new credentials, they are gone after the browser is refreshed, even though they are listed in the database. Checking the JS console, credentials will be POSTed to the API, which writes to the SQLite database, but the subsequent GET /credentials returns an empty array.

I have not modified any settings aside from the webhook URL; the docker-compose.yaml is simple enough:

        image: n8nio/n8n:latest
            - ./.n8n:/home/node/.n8n
            - ""
        restart: unless-stopped
            - ./.env

Curiously, the first workflow I created is retrieved just fine. What is going on here?

Hey @Radiergummi!

Welcome to the community :sparkling_heart:

Can you please share how are you creating the credentials? Is this happening for a particular node or for all the nodes?

Hey @harshil1712, thank you :revolving_hearts:

I created the secrets using the GUI, both from the Credentials > New screen, and directly from a node.
This happens for all nodes and secrets I’ve tried until now…

Arghhh… never mind. It was Cloudflare, caching the API responses. Dang!

1 Like

Haha! No worries. I am glad you found the culprit.

Have fun :tada: