Request failed with status code 400: {“error”:{“type”:“client”,“reason”:“invalid_input”,“message”:“model is required”,“retryable”:false}}
We get a 400 it does not matter the model.. 40 or 5.2 or 5.4
We need to get this up and running what can we do ?
Thank you
Hey, this is a known issue with Azure OpenAI BYOK. Cursor doesn’t always pass the model parameter correctly to the Azure API, which causes the 400 error.
Related threads with the same error:
The team is aware of the problem. There’s no fix yet, but you can try a community workaround: a proxy service that adapts the Azure OpenAI format for Cursor: GitHub - gabrii/Cursor-Azure-GPT-5: A service that allows Cursor to use Azure GPT-5 deployments. · GitHub
Also, please share:
- Your Cursor version (Help > About Cursor > Copy)
- The base URL you’re using in the Azure settings
That’ll help confirm there aren’t any extra config issues.