Pain point · Reliability & bugs · Blocks work
HTTP Request node fails on api.openai.com with a setContentType error
1 source thread · first seen 2026-04
Summary
Calling the OpenAI URL from the HTTP Request node throws an error because an interceptor assumes the wrong headers object.
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“The HTTP Request node throws NodeApiError: config.headers.setContentType is not a function when the request URL starts with https://api.openai.com/”