Unable to publish APIM developer portal

Solar Flare 0 Reputation points
2023-02-17T11:15:28.3533333+00:00

Hi,

I have made some customizations to the APIM developer portal. But when I try to publish it I get the following error.

MicrosoftTeams-image (1)

What is causing this issue. How can this be resolved?

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

1 answer

Sort by: Most helpful
  1. MuthuKumaranMurugaachari-MSFT 22,441 Reputation points Moderator
    2023-02-22T15:14:14.95+00:00

    Solar Flare Thank you for posting this question in Microsoft Q&A and sharing the requested details. There is a known issue in publishing the developer portal and our product team is currently working on the fix (unfortunately no ETA yet). I can confirm that you experienced the same issue using correlation id (you shared in the screenshot) and requesting you to follow the below workaround.

    Workaround:

    1. Delete pop up content item "main-menu-popup" using Direct REST API call.
      Sample REST call: DELETE https://servicename.management.azure-api.net/subscriptions/000/resourceGroups/000/providers/Microsoft.ApiManagement/service/servicename/contentTypes/popup/contentItems/main-menu-popup?api-version=2021-04-01-preview HTTP/1.1 Authorization: SharedAccessSignature 1&20221209195 <<token removed>>
    2. Open customized pages of Developer Portal in design mode, delete the section that adds the pop-up content type. If you're unsure on which page this exists, search for following control using F12:
       <a role="button" data-toggle="popup" data-target="#popupsmain-menu-popup" href="javascript:void(0)" class="button button-no-border ionsuudhhx ionsuudhhx-md">
           <!-- ko if: icon --><!-- /ko --><span data-bind="text: label">?</span>
       </a>
    

    After following the steps, you should be able to publish the developer portal. Sorry for the inconvenience caused by this issue.

    I hope this helps with your question and let me know if you have any questions.


    Please accept as "Yes" if the answer is helpful, so that it can help others in the community.

    1 person found this answer helpful.

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.