Skip to content

[Question] After updating to latest version publisher start failing with errors #849

Description

@nepsmaddy

Release version

7.0.1

Question Details

When we run publisher before, it will automatically deploy the artifacts which are extracted in artifacts. Now it is failing for random error, for propertyid and subscription to be set. Please find below error snapshot.

System.Net.Http.HttpRequestException: HTTP request to URI https://management.azure.com/subscriptions/***/resourceGroups/grd-uat-eus2-gapi-rg/providers/Microsoft.ApiManagement/service/grd-uat-eus2-gapi-apim-01/workspaces/WS-POC/tags/ws/apiLinks/69fa265f0182f50a2066ef1b?api-version=2024-05-01 failed with status code 400. Content is '{"error":{"code":"LinkedInvalidPropertyId","message":"Property id '/workspaces/WS-POC/apis/ws-api-v1' at path 'properties.apiId' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'."}}'.

Expected behavior

It should publish to new instance without changing anything in the configs.

Actual behavior

It is failing required saying need to put fully qualified resource id.

I am not sure if i am missing some configuration as per new version requirement

Reproduction Steps

  1. Run extractor and generate artifacts
  2. Run publisher

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions