Receiving errors trying to register APIs within Azure API Center

McCabe, Matt 0 Reputation points
2025-01-17T17:35:46.2966667+00:00

My organization is trying to register APIs with Azure Api Center. We have already registered the Microsoft.ApiCenter resource provider with our Azure subscription. We were able to successfully create the API Center resource in the East US region. However, whenever we attempt to create Metadata, register APIs, or add a new environment within Azure Portal we receive the following error: 'Your request failed for an unknown reason, please try again later'.

I have the 'Azure API Center Service Contributor' role assignment as well as being a Contributor to the resource. Resource provider registration was done by one of our members with the Subscription Contributor role assignment.

Looking in the network tab on the Azure Portal, we see 404 responses from the following requests:

PUT

"/providers/Microsoft.ApiCenter/services/my-api-center-instance/workspaces/default/apis/test?api-version=2023-07-01-preview"

HEAD

"/providers/Microsoft.ApiCenter/services/my-api-center-instance/workspaces/default/versions/v1?api-version=2023-07-01-preview"

We also attempted to use the Azure CLI 'apic' commands to interact with Api Center, but we ran into similar 404 errors.

az apic list - 'Operation returned an invalid status 'Not Found''

az apic api register --api-location "path-to-openapi.json' -g 'our-resource-group' -n 'api-center-instance' - (404) None \n Code: 404 \n Message: None

We also attempted to interact with the API Center via the VS Code extension: 'Azure API Center' (apidev.azure-api-center). It did successfully locate our API Center instance under our subscription, but when we attempted to register an API through the extension, we received the following error: 'Error: Failed to register API.'

Is there an issue with API Center or are we missing something in our setup?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,985 questions
0 comments No comments
{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.