While trying to connect to the Adjust SDK endpoint im getting an error that I cant resolve. Adjust support says is something regarding n8n http request node, and the cUrl works perfectly on terminal, but somehow in the n8n flows ask for a cookie session that it’s not something adjusts provides.
This is the error
{
“errorMessage”: “Authorization failed - please check your credentials”,
“errorDescription”: “401 - "{\"error_code\":\"auth_error\",\"error_desc\":\"No access. Please provide adjust cookie key\"}"”,
“errorDetails”: {
“rawErrorMessage”: [
“401 - "{\"error_code\":\"auth_error\",\"error_desc\":\"No access. Please provide adjust cookie key\"}"”
],
“httpCode”: “401”
},
“n8nDetails”: {
“nodeName”: “HTTP Request1”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “7/4/2025, 10:39:26 AM”,
“n8nVersion”: “1.100.1 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: Authorization failed - please check your credentials”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_1af219c3f47f2a1223ec4ccec249a974/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:780:15)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1193:9)“,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1542:27”,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2108:11"
]
}
}
HEADER(tried many options here)
[
{ “name”: “Authorization”, “value”: “Bearer XXXXXXXXXXXXXXXX” },
{ “name”: “Accept”, “value”: “/” },
{ “name”: “User-Agent”, “value”: “curl/8.0” },
{ “name”: “X-Requested-With”, “value”: “XMLHttpRequest” }
]
And here adjust docs
And cURL actually working on terminal
Example of a request I tried:
curl --header ‘Authorization: Bearer xxxx’ --location --request GET https://automate.adjust.com/reports-service/csv_report?reattributed=all&attribution_source=dynamic&attribution_type=all&date_period=2025-06-01:2025-06-30&dimensions=app,partner_name,campaign,campaign_id_network,campaign_network&metrics=installs,network_installs,network_cost,network_ecpi&utc_offset=+00:00&environment=production&ad_spend_mode=network&adjust_account_id=20710
Any help is highly appreciated!!