Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[BUG] API suffix not allowed to duplicate for version sets

Open
#712 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, csharp
Domain
api, cloud

Research direction

No source file or test is named. Start by reproducing the migration with two API versions in the same version set and the same API suffix, then trace the APIops deployment path that creates the API. Done means the migration succeeds without the duplicate-path validation error and existing behavior remains covered by tests.

Written by the indexing model from the issue text.

Description

Release version

v6.0.2-alpha.1.0.2

Describe the bug

APIs have same API suffix of versions, it throws an error
##[error]System.Net.Http.HttpRequestException: HTTP request to URI https://management.azure.com/subscriptions/*********resourceGroups/Resource-group/providers/Microsoft.ApiManagement/service/APIM/apis/APIr-v2;rev=2?api-version=2023-09-01-preview failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"path","message":"Cannot create API 'API-v2' with the same Path 'glb/supplier' as API 'API-v03' unless it's a part of the same version set"}]}}'.

Expected behavior

I can manually create new version of API in the same version set with same API suffix which is not possible via APIops

Actual behavior

APIops throws an error, not allowing to create API version sets with same API suffix

Reproduction Steps
  1. Create an API in API management
  2. create version 1 and 2 with same API suffix
  3. Migrate API via APIops
Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/apiops

All issues in Azure/apiops

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.