APIOps Toolkit for Azure APIM - Error publishing API
I'm using APIOPS toolkit to migrate APIs from one instance to another. I'm able to extract single API using configuration extractor yaml file. While publishing the same, I'm facing error with no proper explaination. Exception: /home/vsts/work/_temp/d12e6752-caa2-44b0-a001-2242c7dc60bc.ps1:9 Line | 9 | if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."} | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Running publisher failed. ##[debug]Exit code 1 received from tool '/usr/bin/pwsh' ##[debug]STDIO streams have closed for tool '/usr/bin/pwsh' ##[debug]task result: Failed ##[error]PowerShell exited with code '1'. ##[debug]Processed: ##vso[task.issue type=error;]PowerShell exited with code '1'. ##[debug]Processed: ##vso[task.complete result=Failed;]PowerShell exited with code '1'. ##[debug]task result: Failed ##[error]PowerShell wrote one or more lines to the standard error stream. ##[debug]Processed: ##vso[task.issue type=error;]PowerShell wrote one or more lines to the standard error stream. ##[debug]Processed: ##vso[task.complete result=Failed;]PowerShell wrote one or more lines to the standard error stream. ##[error]Exception: /home/vsts/work/_temp/d12e6752-caa2-44b0-a001-2242c7dc60bc.ps1:9 Line | 9 | if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."} ##[debug]Processed: ##vso[task.issue type=error;]Exception: /home/vsts/work/_temp/d12e6752-caa2-44b0-a001-2242c7dc60bc.ps1:9 Line | 9 | if ($LASTEXITCODE -ne 0) { throw "Running publisher failed."} ##[error] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Running publisher failed. ##[debug]Processed: ##vso[task.issue type=error;] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Running publisher failed.