"Could not complete the request" when tracing api

Butler, Ben 61 Reputation points
2023-03-09T01:30:49.63+00:00

After attempting to trace a test request in Azure API Management I get an error, "Could not complete the request. Please try again later". How do I troubleshoot this? Thanks.

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

1 answer

Sort by: Most helpful
  1. MuthuKumaranMurugaachari-MSFT 22,276 Reputation points
    2023-03-09T14:30:28.5433333+00:00

    Butler, Ben Thanks for posting your question in Microsoft Q&A. I assume you are trying to test API via Test console in the azure portal (reference: Test the mocked API) and got this error. Is that correct?

    If you have deployed APIM in VNET internal mode, then this is expected since the gateway is not accessible outside VNET and the same has been described here in the doc.
    User's image

    For APIM deployed in VNET external mode, validate NSG rules (also route table: reference) to allow the connections from external client as described in docs: Configure NSG rules. Note: Test Console in azure portal is an external client and it needs to be allowed in your NSG rules as well as route table.

    If you still face the issue and any of the above scenarios didn't help, then it needs deeper investigation from the backend logs, and azure support team should be able to help. I hope this helps and let me know if you have any questions.


    If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.

    2 people found this answer helpful.
    0 comments No comments