Describe the problem/error/question
I’m encountering a persistent 400 Bad Request
error when trying to fetch FBA inventory summaries from the Amazon Selling Partner API (SP-API) using n8n’s HTTP Request node.
Despite my troubleshooting, the API consistently returns the same error message, indicating that the marketplaceIds
query parameter is invalid, even after I’ve removed it from the node’s configuration.
Here is the error message I’m getting:
{
"errorMessage": "Bad request - please check your parameters",
"errorDescription": "This is an invalid input",
"errorDetails": {
"rawErrorMessage": [
"400 - \"{\\n \\\"errors\\\": [\\n {\\n \\\"code\\\": \\\"InvalidInput\\\",\\n \\\"message\\\": \\\"This is an invalid input\\\",\\n \\\"details\\\": \\\"Invalid query parameter [marketplaceIds] value entered. \\\"\\n }\\n ]\\n}\""
],
"httpCode": "400"
},
"n8nDetails": {
"nodeName": "Inventory US",
"nodeType": "n8n-nodes-base.httpRequest",
"nodeVersion": 4,
"itemIndex": 0,
"time": "9/3/2025, 5:49:29 PM",
"n8nVersion": "1.107.4 (Cloud)",
"binaryDataMode": "filesystem"
}
}
What is the error message (if any)?
As above.
Please share your workflow
Share the output returned by the last node
400 - “{\n \“errors\”: [\n {\n \“code\”: \“InvalidInput\”,\n \“message\”: \“This is an invalid input\”,\n \“details\”: \“Invalid query parameter [marketplaceIds] value entered. \”\n }\n ]\n}”
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): n8n cloud
-
Operating system: Windows 11