I'm using the endpoint /api/v1.0/tickets/slas to retrieve SLA information related to tickets; however, it returns a 500 Internal Server Error when the itemcount is 0.
{
"ItemCount": 0,
"UserToken": "",
"RequestDate": "2024-11-27T17:54:54.835596Z",
"ExecutionTime": 348.4801,
"StatusCode": 500,
"Message": "Internal Server Error",
"ServerName": "tickets-00023I",
"ProcessId": 4020,
"Properties": {}
}
payloads =
{
"Schema": "All",
"Filters": [
{
"Facet": "createddate",
"Name": "daterange: 11/27/2024-11/27/2024",
"Value": "daterange: 11/27/2024-11/27/2024"
}
]
}
headers =
'content-type': 'application/json',
'accept': 'application/json'
‘authorization’: ‘Bearer’ + key


