Bad Parameters error when attempting to pull data from SAM.gov?

I’m trying to use the HTTP Request node to connect to the SAM.gov Opportunities API and pull listings using query parameters like naics, modifiedFrom, and modifiedTo.
Even when I strip the request down to just limit=1, I receive a 400 Bad Request response.

This seems to be a bug in how the HTTP Request node formats or sends parameters in n8n v1.102.4, because the exact same request works fine using curl and Postman.

What is the error message (if any)?

sql

CopyEdit

Bad request - please check your parameters

No details are returned in the response. “Always Output Data” is enabled but produces no additional diagnostic output.

Please share your workflow

json

CopyEdit

Share the output returned by the last node

Output:

sql

CopyEdit

Bad request - please check your parameters

No other output is available, even with “Always Output Data” enabled.

Information on your n8n setup

  • n8n version: 1.102.4 (Self Hosted)
  • Database: Default (SQLite)
  • n8n EXECUTIONS_PROCESS setting: own
  • Running n8n via: Docker
  • Operating system: Ubuntu 22.04 VPS

you have not added any parameters in http node.
add them and try again.

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