The triggers API endpoint is returning the following error with 503 Status.
The endpoint is working fine when used without parameters but failing when the 'page[size] =100' parameter is added. Please check why this is happening and issue a fix.
{
"error":{
"title":"DatabaseError",
"message":"Unknown database error"
}
}
It looks like this is actually an issue caused by the documentation not being clear on the correct usage of the parameters. When using cursor-based pagination together with the Triggers API, the accurate parameter will be
sort, as opposed tosort_by. So, the correct endpoint based on your example would behttps://<account-id>.zendesk.com/api/v2/triggers.json?include=app_installation,permissions&sort=updated_at&page[size]=100.I'm working with our documentation team to have this updated asap.
Apologies for the mix up! If you have any questions, feel free to reach out.
Tipene