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:

services:
    n8n:
        image: n8nio/n8n:latest
        volumes:
            - ./.n8n:/home/node/.n8n
        ports:
            - "127.0.0.1:5678:5678"
        restart: unless-stopped
        env_file:
            - ./.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: