Openai/gpt-4.1 resource not found in n8n

I am doing the n8n course and I tried to build an workflow where I selected the message model as OpenAI. I followed the steps as instructed in the video. However, when I tried executing the step, it throws an error that “The resource you are requesting could not be found”. I am using openai/gpt-4.1.

1 Like

Hi @shubheshswain91

Please click on this to get the detail error.

Same issue here.

From OpenAI the output is just:

404
{“detail”: “Not Found”}

when trying openai/gpt-4.1 or gpt-4.1 as model IDs. First I thought the API Keys didn’t work correctly, but when using Manual Trigger + HTTP Request with cURL command generated from KodeKey | KodeKloud setup, it worked.

Later on in the n8n course, I meet the same issues at step Workflow 1: Your First Simple Email AI Agent → “the resource you are requesting could not be found”

Hi @ingrid_kolderup

Please send me the lab link, and I will review it and give you detailed feedback.

hi, i’m also encountering the same issue.
Are there any fix or work around available? Thanks.

Hi @edenA

Please share the lab link so I can check it and provide feedback.

I didn’do this in a lab session. I did it directly in n8n.

Hi @ingrid_kolderup

I’m checking this issue with the team. It looks like the n8n version may have been upgraded and could now be conflicting with the KodeKloud base URL.