You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Azure OpenAI configuration returns "API version not supported" / "Resource not found" despite valid endpoint #12186
This issue might be a duplicate of existing issues. Please check:
Azure OpenAI Configuration Help #6381: Azure OpenAI Configuration Help - User reports "Resource not found" error with similar baseURL and resourceName configuration attempts
The core issue appears to be related to how OpenCode constructs Azure API URLs and validates API versions. These issues share the common symptoms of "API version not supported" or "Resource not found" errors despite valid Azure endpoints.
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Feb 4, 2026
This issue might be a duplicate of existing issues. Please check:
The core issue appears to be related to how OpenCode constructs Azure API URLs and validates API versions. These issues share the common symptoms of "API version not supported" or "Resource not found" errors despite valid Azure endpoints.
Feel free to ignore if none of these address your specific case.
R44VC0RP commentedon Feb 4, 2026
Can you try running
opencode models --refreshgithub-actions commentedon Apr 6, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
rodrigorodriguez commentedon Apr 17, 2026
OpenAI resource name setting is missing. Pass it using the 'resourceName' parameter or the AZURE_RESOURCE_NAME environment variable.