Incidents API returns 0 results if the first service in the query has no open incidents

let’s say i have 2 PD services with ids “service1” and “service2”

“service1” has open incidents and “service2” has no open incidents

GET “/incidents?statuses[]=triggered&statuses[]=acknowledged&service_ids[]=service1,service2”
returns results, while changing the order in the query returns no results
GET “/incidents?statuses[]=triggered&statuses[]=acknowledged&service_ids[]=service2,service1”

Hi @eran.netzerel, the problem is how you are specifying the service_ids[] parameter… you’ve got it the right way in your statuses[] parameter though… you want to give the URL like:


Hope this helps…