Hi all, I have an issue with tap-zendesk and I cou...
# troubleshooting
o
Hi all, I have an issue with tap-zendesk and I could use your help: I'm getting the following error:
Copy code
AssertionError: satisfaction_ratings - Record found before date window start. Details: window start (2023-02-27T18:10:02Z) is not less than or equal to updated_at (2023-02-27T16:25:42Z)
although my state file is updated:
Copy code
{
  "completed": {
    "singer_state": {
      "bookmarks": {
        "tickets": {
          "generated_timestamp": "2024-06-07T12:07:01.000000Z"
        },
        "groups": {
          "updated_at": "2024-06-03T11:55:15Z"
        },
        "users": {
          "updated_at": "2024-06-07T12:05:27Z"
        },
        "organizations": {
          "updated_at": "2024-04-02T12:42:17Z"
        },
        "organization_memberships": {
          "updated_at": "2024-05-21T07:40:50Z"
        },
        "ticket_fields": {
          "updated_at": "2024-06-02T12:35:17Z"
        },
        "ticket_forms": {
          "updated_at": "2024-06-02T12:37:42Z"
        },
        "group_memberships": {
          "updated_at": "2024-06-03T12:23:23Z"
        },
        "macros": {
          "updated_at": "2024-06-06T10:15:30Z"
        },
        "satisfaction_ratings": {
          "updated_at": "2023-02-27T18:10:03Z"
        }
      }
    }
  },
  "partial": {}
}
At the database, I see records from these timestamp. Any idea what can cause this? I don't know if it helps, but I got the below error when I tried to run the tap one week ago, and got different dates in the error:
Copy code
AssertionError: satisfaction_ratings - Record found before date window start. Details: window start (2023-02-28T01:01:24Z) is not less than or equal to updated_at (2023-02-27T23:30:18Z)
1
e
Which variant of tap-zendesk is this?
ty 1
o
twilio-labs It's only for the
satisfaction_ratings
stream, if I disable it everything works.
e
Gotcha, thanks for circling back
o
Sure! is there anything I can do from my side to overcome this?
e
Your best option is probably forking the tap and trying to implement a working backoff for the stream, then use that fork in your project. You can later open a PR in case the maintainers are interested in the patch.
o
Thank you 🙏