Azure APIM response code 0

Ferenc Szabó 66 Reputation points
2021-04-26T16:06:32.763+00:00

We are seeing requests in API Management logged in Application Insights with the response code:
0 [not sent in full (see exception telemetries)]
On the client side, the response is "503 Service Unavailable". We are not really sure what this phenomenon is, what's in between the client and the APIM we are not aware of that's canceling the request and responding with the 503.
Any insights into this?

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

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 23,106 Reputation points Microsoft Employee
    2021-05-13T22:49:38.407+00:00

    Hello @Ferenc Szabó , this is the data which gets added to Application insights. You can also add trace policy to do custom logging for the API. Additionally in the advanced options while setting up application insights you can decide on how backend & frontend requests/responses are logged and please be aware of performance implications of logging in APIM.

    96583-image.png

    Also regarding the verbosity level if this is the case please be aware that the setting applied at individual API level will over-ride the setting for All API levels.
    96534-image.png

    You can also refer to this tutorial to understand more about monitoring published API's. Please let me know if there are any concerns. Thank you!

    0 comments No comments