UWP - Get error reporting data - API error

Apoena de Palmer Herrero 16 Reputation points
2020-09-03T14:41:30.453+00:00

I am trying consume the API described in this documentation.

Unfortunately, when I make a call, I get a 500 error response, this message: Object reference not set to an instance of an object

Call Example:

curl --request GET "https://manage.devcenter.microsoft.com/v1.0/my/analytics/failurehits?applicationId=<<ApplicationId>>&startDate=09/01/2020&endDate=09/02/2020&top=10&skip=0" --header "Authorization: Bearer <<Token>>"

I tried to change the date FORMAT and including the parameter "aggregationLevel", but nothing worked.

The ONLY way I can get a non error message is by completely removing the "startDate" and "endDate" parameter. BUT it does not give me the expected output.

{  
    "Value": [  
        {  
            "applicationId": "<<ApplicationId>>",  
            "applicationName": "<<ApplicationName>>",  
            "deviceCount": 1000.00000000001,  
            "eventCount": 12345.0  
        }  
    ],  
    "TotalCount": 1  
}  

I can see data in the Partner Center, health monitor. Any idea?

Thanks.

Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
870 questions
{count} vote