Skip to content

Send the API key from n8n's HTTP Request node too - #8

Merged
Jesus-Shotstack merged 1 commit into
devfrom
growth/credential-uri
Oct 30, 2026
Merged

Jesus-Shotstack merged 1 commit into
devfrom
growth/credential-uri

Conversation

@Jesus-Shotstack

Copy link
Copy Markdown
Collaborator

Picking the Shotstack credential in n8n's HTTP Request node fails every call to api.shotstack.io with "Missing API key".

n8n hands that node's address to the credential as uri, the legacy request field. The credential only read url, so it never saw a Shotstack address. It now falls back to uri. The host rule is unchanged: the key still goes only to api.shotstack.io.

Verify: npm test. Two new cases in test/credential-host-scope.mjs: an Ingest API call through uri gets the key, a third-party uri doesn't.
Risk: credential only. Rollback: revert.

@Jesus-Shotstack
Jesus-Shotstack merged commit a01d452 into dev Oct 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant