Workflow executes but says error on last step (it works)

My workflow works 100% in its entirety but I am still getting an error on the last step. It’s really annoying because I just want to publish it.

{
“errorMessage”: “Bad request - please check your parameters”,
“errorDescription”: “Request contains an invalid argument.”,
“errorDetails”: {
“rawErrorMessage”: [
“400 - “{\n \“error\”: {\n \“code\”: 400,\n \“message\”: \“Request contains an invalid argument.\”,\n \“status\”: \“INVALID_ARGUMENT\”,\n \“details\”: [\n {\n \”@type\“: \“type.googleapis.com/google.mybusiness.v4.ValidationError\”,\n \“errorDetails\”: [\n {\n \“code\”: 2,\n \“field\”: \“media[0].source_url\”,\n \“message\”: \“media[0].source_url is required\”\n }\n ]\n }\n ]\n }\n}\n””
],
“httpCode”: “400”
},
“n8nDetails”: {
“nodeName”: “HTTP Request”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “1/23/2026, 2:06:03 PM”,
“n8nVersion”: “2.4.5 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: Bad request - please check your parameters”,
" at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1513:10)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_ec37920eb95917b28efaa783206b20f3/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1813:11)"
]
}
}

The HTTP request node is accepting two inputs which means it is running twice; one input has the correct data structure for the call the other does not. You could remove the connection to the HTTP Request node that is not need (Likely the direct connection from the AI Node)

1 Like

Fixed! Thank you very much. New to learning automation and I am having a blast with n8n but I still make silly mistakes like this lol.

1 Like

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