Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Version mismatch for Microsoft.APIManagement #31868

Open
theunrepentantgeek opened this issue Dec 12, 2024 · 1 comment
Open

[BUG] Version mismatch for Microsoft.APIManagement #31868

theunrepentantgeek opened this issue Dec 12, 2024 · 1 comment
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library.

Comments

@theunrepentantgeek
Copy link
Member

API Spec link

specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2024-05-01

API Spec version

2024-05-01

Describe the bug

When I try to use version 2024-05-01 of resources within Microsoft.ApiManagement I get an error from ARM indicating that version isn't available. Reproduced in both eastus and westus2.

If it's relevant, I was trying to create a Diagnostic.

Expected behavior

Published API versions should be available for use.

Actual behavior

ARM returns an error indicating the specified version is not available.

--------------------------------------------------------------------------------
RESPONSE 400: 400 Bad Request
ERROR CODE: MissingOrIncorrectVersionParameter
--------------------------------------------------------------------------------
{
  "error": {
    "code": "MissingOrIncorrectVersionParameter",   "message": "API version query parameter is not specified or was specified incorrectly.  
        Supported versions: 2014-02-14-preview,2014-02-14,2015-09-15,2016-07-07,2016-10-10,2017-03-01,2018-01-01,
        2018-06-01-preview,2019-01-01,2019-12-01-preview,2019-12-01,2020-06-01-preview,2020-12-01,2021-01-01-preview,
        2021-04-01-preview,2021-08-01,2021-12-01-preview,2022-04-01-preview,2022-08-01,2022-09-01-preview,2023-03-01-preview,
        2023-05-01-preview,2023-09-01-preview,2024-06-01-preview  Example query param format: api-version=SupportedVersion",
    "details": null
  }
}
--------------------------------------------------------------------------------

Reproduction Steps

Use the example shown on the 2024-05-01 documentation page.

Environment

I was running test builds of Azure Service Operator locally under WSL Ubuntu on Windows 11 24H2.

However, the error was in response to an HTTP PUT attempting to create the resource, so I don't think this is relevant.

@theunrepentantgeek theunrepentantgeek added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 12, 2024
@v-jiaodi v-jiaodi added the Mgmt This issue is related to a management-plane library. label Dec 17, 2024
@v-jiaodi
Copy link
Member

@solankisamir Please help take a look, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

3 participants