http request problem new openAI responses API
I’m trying to get new model response which has the the web search tool method POST https://api.openai.com/v1/responses I’ve set up the header auth with: Name Authorization Value Bearer my-API but it keep on giving me error of authentication: Error code 401 Full message { "error": { "message": "Missing bearer or basic authentication in header", "type": "invalid_request_error", "param": null, "code": null } } these are my body parameters: { "model": "gpt-4o", "tools": [ { "type": "web_search_preview", "user_location": { "type": "approximate", "country": "IT" } } ], "input": "chi è {{ $json.chatInput }}?" } and this are my headers: [ { "name": "Content-Type", "value": "application/json" } ] Do you have some suggestion on how to fix it? Ps: I can retrieve the response using python and openAI library so the problem is on n8n part