callCountFailed - how to see the reason why the API call failed

SKate 136 Reputation points
2022-10-20T12:25:09.727+00:00

Hello,
When checking a user activity with the following call

https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byUser?api-version=2021-08-01&%24filter=timestamp%20ge%20datetime'2022-10-15T00:00:00'%20and%20userId%20eq%20'{userid}'  

the response returns the failed calls count in the callCountFailed field.

What is the way to find out why the user's calls fail?

Thank you

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

Accepted answer
  1. JananiRamesh-MSFT 15,316 Reputation points
    2022-10-20T17:11:20.583+00:00

    Hi @SKate Thanks for reaching out. To find the reason why the user call failed you can go to logs blade in your APIM service and verify the ApiManagementGatewayLogs table and query accordingly to fetch the details as shown below,

    252478-image.png

    252594-image.png

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

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful