Api in developer portal getting issue

SriRaghavendran Prabhakaran 405 Reputation points
2025-05-22T07:17:22.52+00:00

Hello team.

I published some of my api's to developer portal and those api's i am not able to access with required authentication. it is throwing below error and these api's are accessible in test tab of APIM api's also via postman. could you please help?

User's image

thanks in advance.

regards,

Sri

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

Accepted answer
  1. Shireesha Eeraboina 3,435 Reputation points Microsoft External Staff Moderator
    2025-05-23T04:53:22.85+00:00

    Hi SriRaghavendran Prabhakaran,

    The error you're seeing in the Developer Portal (503 Service Unavailable) usually points to a configuration or authentication issue. Even though the API works from Postman and the APIM test tab, the Developer Portal might have additional requirements. Please try the following:

    Check Subscription Key :

    Make sure the request includes a valid subscription key. Without it, the Developer Portal might block the request.

    API Linked to Product :

    In Azure API Management, APIs must be associated with a "Product" for users to get a subscription key. Please verify that your API is included in a product.

    Authentication Setup :

    If you're using Azure AD or another identity provider, ensure it's properly configured and the token (JWT) is included in your request.

    Republish Developer Portal :

    If you've made any recent changes to authentication settings, try republishing the portal. This helps apply the changes correctly.

    Check for CORS Issues:

    If you're calling the API from a browser, Cross-Origin Resource Sharing (CORS) rules could be blocking it. You may need to update the API's CORS policy.

    For your reference, please review the following documentations for further clarification.

    Please let me know incase of further queries, I would be happy to assist you.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most 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.