[quote="Emmanue22,post:1,topic:310715"]

Hi everyone, I am having an issue with http request node in n8n. The request executes but I keep getting "request failed with status code 401 (unauthorized) message invalid API key.

Describe the prob

What is the error message (if any)?

Please share your workflow


Share the output returned by the last nod?

I have also checked the URL and request parameters but the API still rejects the request. What is the correct way to configure the API key in the HTTP request node?

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Alia_Zanib, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@achamm, @withabdul, @jksr - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

oAuth2 : Password credential HTTP Request

its really helpful thanyou for guidance