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

[Question] If new versionset is being added, I notice the first deployment fails. The second one normally succeeds. #697

Open
zcarroll4 opened this issue Oct 28, 2024 · 2 comments

Comments

@zcarroll4
Copy link
Contributor

Release version

5.1.4

Question Details

Throws this error: 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 '-v2' with the same Path '/api' as API '***' unless it's a part of the same version set"}]}}'.

Expected behavior

For the deploy to succeed on the first iteration.

Actual behavior

Fails for the first deploy. Succeeds on the second.

Reproduction Steps

Create a new version set for an api.

Copy link

  Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
  Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.

@ash9368
Copy link

ash9368 commented Oct 29, 2024

Hi @zcarroll4
i am also working on version set and when i run apiops for the version set and the 2 api that version set has then there is 2 different api which are shown on the branch but ideally there should be folder and inside which there should be 2 API .

so my concern here is during the deployment from the dev to qa , will it create the 2 different api in the qa enviroment or those api will show under the one version set . ?? in dev 2 api are inside the one version set .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants