# HTTP basic auth consistently rejected

**URL:** <https://community.n8n.io/t/http-basic-auth-consistently-rejected/201471>\
**Category:** Questions\
**Tags:** http-request\
**Created:** [October 7, 2025, 10:08pm UTC](https://community.n8n.io/t/http-basic-auth-consistently-rejected/201471 "2025-10-07T22:08:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandonbosco](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/brandonbosco/32/123778_2.png) [@brandonbosco](https://community.n8n.io/u/brandonbosco)\
**Post date:** [October 7, 2025, 10:08pm UTC](https://community.n8n.io/t/http-basic-auth-consistently-rejected/201471/1 "2025-10-07T22:08:59Z")

</div>

When attempting to use the http request node to access a 3rd party API I consistently get rejected from the endpoint with a 403 error. Its using basic authorization + 2 url params. Ordinarily I’d blame the API, but n8n seems to be the only service that can’t successfully do it. I’ve done the exact same request from postman, from inside a smithery.ai server, and from Microsoft Power Automate, all without any issues at all.

Things I’ve tried:

- Standard n8n basic auth credentials.
- Encoding the credentials manually in base64 and manually placing “Authorization: Basic [MY\_TOKEN]” in the headers.
- I’ve even copied the EXACT header object, authorization and all, out of postman’s console and placed it in the headers of the http request node.

## Share the output returned by the last node

403Forbidden. The server understood the request but refuses to authorize it.

Edit: Finally got the response headers which have “cf-mitigated": “challenge” in them. Looks like n8n trigger’s Cloudflairs botting response. Very cool.

## Information on your n8n setup

- **n8n version:** 1.107.3
- **Database (default: SQLite): Default**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main): Unknown**
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud**
- **Operating system: Windows**

---

<div class="post-metadata">

**Author:** ![mredodos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mredodos/32/49280_2.png) [@mredodos](https://community.n8n.io/u/mredodos)\
**Post date:** [October 7, 2025, 11:14pm UTC](https://community.n8n.io/t/http-basic-auth-consistently-rejected/201471/2 "2025-10-07T23:14:59Z")

</div>

maybe you have botmode or attackmode active

---

<div class="post-metadata">

**Author:** ![Dhruv29](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/dhruv29/32/59945_2.png) [@Dhruv29](https://community.n8n.io/u/Dhruv29)\
**Post date:** [October 8, 2025, 6:17am UTC](https://community.n8n.io/t/http-basic-auth-consistently-rejected/201471/3 "2025-10-08T06:17:27Z")

</div>

@brandonbosco  
Try importing curl directly without manual setup HTTP Request node

---

<div class="post-metadata">

**Author:** ![Parintele\_Damaskin](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/parintele_damaskin/32/139243_2.png) [@Parintele\_Damaskin](https://community.n8n.io/u/Parintele_Damaskin)\
**Post date:** [October 8, 2025, 8:27am UTC](https://community.n8n.io/t/http-basic-auth-consistently-rejected/201471/4 "2025-10-08T08:27:07Z")

</div>

> [@brandonbosco](#):
>
> Its using basic authorization + 2 url params.

Then maybe use Query parameters instead Header?

Did you try that?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [January 6, 2026, 8:27am UTC](https://community.n8n.io/t/http-basic-auth-consistently-rejected/201471/5 "2026-01-06T08:27:49Z")

</div>

Closed on January 6, 2026, 8:27am UTC

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