Unable to Create New Credentials

Hello,

Describe the problem/error/question

When I try to create new credentials in n8n, the fields in the form do not display correctly, making it impossible to fill them. Existing credentials still work fine.

What is the error message (if any)?

The browser console shows multiple JavaScript errors:

GET https://n8n.<-my instance->.net/rest/external-secrets/secrets 404 (Not Found)


TypeError: Cannot read properties of null (reading 'apiKey')
    at Object.resolveValue [as messageResolver] (index-BDDH_NIA.js:16571:22)
    at index-BDDH_NIA.js:17639:33
    at wrapWithDeps (index-BDDH_NIA.js:17567:13)
    at Object.te2 [as te] (index-BDDH_NIA.js:17633:12)
    at I18nClass.dynamicRender (index-BDDH_NIA.js:18745:22)
    at Object.inputLabelDisplayName (index-BDDH_NIA.js:18792:25)
    at Proxy.<anonymous> (index-BDDH_NIA.js:346927:67)
    at renderComponentRoot (index-BDDH_NIA.js:7523:17)
    at ReactiveEffect.componentUpdateFn [as fn] (index-BDDH_NIA.js:6548:26)
    at ReactiveEffect.run (index-BDDH_NIA.js:865:19)
in https://n8n.<-my instance->.net/assets/index-BDDH_NIA.js


TypeError: Cannot read properties of null (reading 'organizationId')
    at Object.resolveValue [as messageResolver] (index-BDDH_NIA.js:16571:22)
    at index-BDDH_NIA.js:17639:33
    at wrapWithDeps (index-BDDH_NIA.js:17567:13)
    at Object.te2 [as te] (index-BDDH_NIA.js:17633:12)
    at I18nClass.dynamicRender (index-BDDH_NIA.js:18745:22)
    at Object.inputLabelDisplayName (index-BDDH_NIA.js:18792:25)
    at Proxy.<anonymous> (index-BDDH_NIA.js:346927:67)
    at renderComponentRoot (index-BDDH_NIA.js:7523:17)
    at ReactiveEffect.componentUpdateFn [as fn] (index-BDDH_NIA.js:6548:26)
    at ReactiveEffect.run (index-BDDH_NIA.js:865:19)
in https://n8n.<-my instance->.net/assets/index-BDDH_NIA.js


TypeError: Cannot read properties of null (reading 'url')
    at Object.resolveValue [as messageResolver] (index-BDDH_NIA.js:16571:22)
    at index-BDDH_NIA.js:17639:33
    at wrapWithDeps (index-BDDH_NIA.js:17567:13)
    at Object.te2 [as te] (index-BDDH_NIA.js:17633:12)
    at I18nClass.dynamicRender (index-BDDH_NIA.js:18745:22)
    at Object.inputLabelDisplayName (index-BDDH_NIA.js:18792:25)
    at Proxy.<anonymous> (index-BDDH_NIA.js:346927:67)
    at renderComponentRoot (index-BDDH_NIA.js:7523:17)
    at ReactiveEffect.componentUpdateFn [as fn] (index-BDDH_NIA.js:6548:26)
    at ReactiveEffect.run (index-BDDH_NIA.js:865:19)
in https://n8n.<-my instance->.net/assets/index-BDDH_NIA.js


TypeError: Cannot read properties of null (reading 'header')
    at Object.resolveValue [as messageResolver] (index-BDDH_NIA.js:16571:22)
    at index-BDDH_NIA.js:17639:33
    at wrapWithDeps (index-BDDH_NIA.js:17567:13)
    at Object.te2 [as te] (index-BDDH_NIA.js:17633:12)
    at I18nClass.dynamicRender (index-BDDH_NIA.js:18745:22)
    at Object.inputLabelDisplayName (index-BDDH_NIA.js:18792:25)
    at Proxy.<anonymous> (index-BDDH_NIA.js:346927:67)
    at renderComponentRoot (index-BDDH_NIA.js:7523:17)
    at ReactiveEffect.componentUpdateFn [as fn] (index-BDDH_NIA.js:6548:26)
    at ReactiveEffect.run (index-BDDH_NIA.js:865:19)
in https://n8n.<-my instance->.net/assets/index-BDDH_NIA.js


TypeError: Cannot read properties of null (reading 'allowedHttpRequestDomains')
    at Object.resolveValue [as messageResolver] (index-BDDH_NIA.js:16571:22)
    at index-BDDH_NIA.js:17639:33
    at wrapWithDeps (index-BDDH_NIA.js:17567:13)
    at Object.te2 [as te] (index-BDDH_NIA.js:17633:12)
    at I18nClass.dynamicRender (index-BDDH_NIA.js:18745:22)
    at Object.inputLabelDisplayName (index-BDDH_NIA.js:18792:25)
    at Proxy.<anonymous> (index-BDDH_NIA.js:346927:67)
    at renderComponentRoot (index-BDDH_NIA.js:7523:17)
    at ReactiveEffect.componentUpdateFn [as fn] (index-BDDH_NIA.js:6548:26)
    at ReactiveEffect.run (index-BDDH_NIA.js:865:19)
in https://n8n.<-my instance->.net/assets/index-BDDH_NIA.js

Please share your workflow

Not applicable – this issue occurs in the credential creation UI, not in a specific workflow.

Share the output returned by the last node

Not applicable – the issue happens before executing any workflow.

Information on your n8n setup

core

  • n8nVersion: 1.113.3
  • platform: docker (self-hosted)
  • nodeJsVersion: 22.19.0
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/140.0.0.0 safari/537.36
  • isTouchDevice: false

What’s strange is that n8n considers my license as Sustainable Use License + n8n Enterprise License, even though I’m using the Community Edition.

Thanks for your help!

Hey @KillianSantos hope all is good. Welcome back.

Would you like to expand on how exactly they do not display correctly?

1 Like

Hi @jabbson,

Thank you for your response.

To be more precise, when I create a new credential, for example OpenAI, the window to enter the API key opens, but not all the fields are displayed.

For the credentials I have already created, they work, but I cannot see the fields and can no longer edit them.

Here is a screenshot: Screenshot by Lightshot

Thank you for your help.

Killian

I see, please look in your list of environment variables and check if you have N8N_DEFAULT_LOCALE set. If you do, please try to remove it and restart the container.

3 Likes

Yes, I have an environment variable N8N_DEFAULT_LOCALE set to FR. I’ll test it. Thanks.

2 Likes

Thank you so much @jabbson. It worked by removing the environment variable. You’re a boss! Have a great day.

1 Like

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