Database timeout error ticket_metriccs | Community
Skip to main content

Database timeout error ticket_metriccs

  • June 7, 2022
  • 1 reply
  • 0 views

Sergio15

Hi all, 

 

I am trying to extract ticket_metrics using the cursor pagination but I keep on getting a Database timeout error. 

 

Status code is 503. 

Sample call is : https://domain.zendesk.com/api/v2/ticket_metrics.json?page[size]=50

 
Response:
{
"error": {
"title": "DatabaseError",
"message": "Database timeout error"
}
}

I can extract data using offset-based pagination but the pagination limit is killing us since we have over 350k records. Is there a way to extract these records incrementally or get the cursor-based pagination to work for ticket metrics? 

 

Regards, 

Sergio

1 reply

Eric27
  • June 7, 2022
Hey Sergio,

If you're hitting database errors, it's something we should probably dig into. Can you open up a request with support so that we can look into it?

Thanks!