Skip to content

Commit 9a162ce

Browse files
ImTotemclaude
andcommitted
fix(infra): add required id field to n8n credential import
n8n import:credentials requires an id field — SQLITE_CONSTRAINT NOT NULL on credentials_entity.id. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a4b5873 commit 9a162ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

infra/scripts/init_n8n.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ setup_credential() {
6464
import json, sys
6565
sa = json.load(open('$GOOGLE_SERVICE_ACCOUNT_FILE'))
6666
cred = [{
67+
'id': '1',
6768
'name': 'Google Sheets SA',
6869
'type': 'googleApi',
6970
'data': {

0 commit comments

Comments
 (0)