Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema change on shortcuts table #22

Open
cgilj opened this issue Mar 3, 2020 · 2 comments
Open

Schema change on shortcuts table #22

cgilj opened this issue Mar 3, 2020 · 2 comments

Comments

@cgilj
Copy link

cgilj commented Mar 3, 2020

While trying to run an extraction, the job failed in the following way

Error persisting data to Stitch: 400: {'error': 'Record 714 for table shortcuts did not conform to schema:\n#: #: no subschema matched out of the total 2 subschemas\n#: expected: null, found: JSONObject\n#: extraneous key [agents] is not permitted\n'}

Checking the error message and Zendesk Chat API, seems that there's a new field agents on shortcuts table which does not exist on the current schema.

I saw an issue was opened some time ago for this same reason

#15

However, the fix does not seem to include an agents item on shortcuts schema, but a scope item on agents schema (which does not actually exist on Zendesk Chat API). Might there have been some confusion?

#16

Zendesk Chat API Docs

Screenshot from 2020-03-03 13-02-44

Current tap schema

https://github.com/singer-io/tap-zendesk-chat/blob/master/tap_zendesk_chat/schemas/shortcuts.json

I believe we would need to add something like

"agents": {
      "type": [
        "null",
        "array"
      ]
    },

Please let me know if this sounds accurate and if I can open a Pull Request myself to fix the issue. Thank you very much!

@nickjl
Copy link

nickjl commented May 29, 2020

hey @cgilj

did you get any further with this? running into same error and getting shortcuts out of zendesk is a nightmare! do you have any work around?

thanks 😁

@katered8
Copy link

katered8 commented Jun 3, 2020

im also getting this error on every run ☹️ any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants