Unable to import v2 version from a dev API to staging API v2

Hamza Junaid 0 Reputation points
2024-12-23T22:25:27.1266667+00:00

User's image

Hi,

I have original, v1 and v2 version of dev API 'Food shop - Dev' set up in my Azure API Management resource. After making changes in the v1 and v2 of dev API 'Food shop - Dev', I want to bring all the changes to my staging API 'Food shop - Staging' which only has original and v1 version which are now ofcourse outdated.

I tried to use the export and import feature. I went to 'Food shop - Staging' and created a new version 'v2' by using v1 as the source. I then deleted all the records from v2. I went to 'Food shop - Dev' and selected 'export'. It exported the yaml file.
I went to 'Food shop - Staging' and under v2 I chose 'import'. I specified the file and when I hit import it showed me this error.

Please help us. We're in the middle of a release.
Thanks.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,238 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.