TylerConlee / slab

Slack bot monitoring upcoming SLA breaches in Zendesk
GNU General Public License v3.0
14 stars 3 forks source link

Investigate dropped tickets from pagination #437

Closed TylerConlee closed 4 years ago

TylerConlee commented 4 years ago

Based on these lines:

INFO[2019-11-21T16:36:21Z] Zendesk request received                      module=zendesk status=524
ERRO[2019-11-21T16:36:21Z] Error parsing Zendesk JSON                    error="invalid character '<' looking for beginning of value" module=zendesk

It looks like we're encountering an error during pagination that's stopping us from being able to pull more than one page at a time. Because of that, we're dropping tickets occasionally, and it's more common with higher ticket volume.

TylerConlee commented 4 years ago

Resolved in #450. 524 errors are no longer occurring, meaning we should see every ticket come through during triage. cc: @keybits

keybits commented 4 years ago

Awesome - thanks Tyler!