UWP - Get error reporting data - API error
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.