"Could not complete the request" when testing API, even with default EchoAPI

Lingyan Yu 5 Reputation points Microsoft Employee
2024-06-24T22:27:46.55+00:00

I got "Could not complete the request" when testing API, even with default EchoAPI. There's no other error messages, so it's hard to debug

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. hossein jalilian 11,905 Reputation points Volunteer Moderator
    2024-06-24T23:34:59.5266667+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Here are some steps to troubleshoot and potentially resolve the issue:

    • If you're connected to a VPN, try disconnecting from it and test again. VPNs can sometimes interfere with the connection or modify certificates, causing this error
    • If your APIM is deployed in a VNET, ensure that the NSG rules and route tables are configured correctly to allow connections from external clients, including the Azure portal
    • Try accessing the API URL directly in a browser like Chrome. This might provide more detailed error information
    • In some cases, security services like Microsoft Defender for Cloud Apps can create a proxy that intercepts requests. Check if you see "portal.azure.com.mcas.ms" in the request domain

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.