Skip to content

Commit

Permalink
🐛 Source Zendesk Support: Fix 504 Error for stream Ticket Audits (air…
Browse files Browse the repository at this point in the history
  • Loading branch information
artem1205 authored and jatinyadav-cc committed Feb 26, 2024
1 parent fccb8a7 commit db70d0b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 79c1aa37-dae3-42ae-b333-d1c105477715
dockerImageTag: 2.2.2
dockerImageTag: 2.2.3
dockerRepository: airbyte/source-zendesk-support
documentationUrl: https://docs.airbyte.com/integrations/sources/zendesk-support
githubIssueLabel: source-zendesk-support
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ class TicketAudits(IncrementalZendeskSupportStream):
"""TicketAudits stream: https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_audits/"""

# can request a maximum of 1,000 results
page_size = 1000
page_size = 200
# ticket audits doesn't have the 'updated_by' field
cursor_field = "created_at"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def test_check_stream_state(self, stream_cls, expected):
(GroupMemberships, {"page[size]": 100, "sort_by": "asc", "start_time": 1622505600}),
(TicketForms, {"start_time": 1622505600}),
(TicketMetricEvents, {"page[size]": 100, "start_time": 1622505600}),
(TicketAudits, {"sort_by": "created_at", "sort_order": "desc", "limit": 1000}),
(TicketAudits, {"sort_by": "created_at", "sort_order": "desc", "limit": 200}),
(SatisfactionRatings, {"page[size]": 100, "sort_by": "asc", "start_time": 1622505600}),
(TicketMetrics, {"page[size]": 100, "start_time": 1622505600}),
(OrganizationMemberships, {"page[size]": 100, "start_time": 1622505600}),
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/zendesk-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ The Zendesk connector ideally should not run into Zendesk API limitations under

| Version | Date | Pull Request | Subject |
|:---------|:-----------|:---------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `2.2.3` | 2023-12-14 | [33435](https://github.com/airbytehq/airbyte/pull/33435) | Fix 504 Error for stream Ticket Audits |
| `2.2.2` | 2023-12-01 | [33012](https://github.com/airbytehq/airbyte/pull/33012) | Increase number of retries for backoff policy to 10 |
| `2.2.1` | 2023-11-10 | [32440](https://github.com/airbytehq/airbyte/pull/32440) | Made refactoring to improve code maintainability |
| `2.2.0` | 2023-10-31 | [31999](https://github.com/airbytehq/airbyte/pull/31999) | Extended the `CustomRoles` stream schema |
Expand Down

0 comments on commit db70d0b

Please sign in to comment.