tap-freshdesk icon indicating copy to clipboard operation
tap-freshdesk copied to clipboard

Getting an issue on production stitch environment

Open balasista opened this issue 6 years ago • 2 comments

Error persisting data for table "conversations": Record 0 did not conform to schema: #/to_emails: #: no subschema matched out of the total 2 subschemas #/to_emails: expected type: JSONArray, found: String #/to_emails: expected: null, found: String

balasista avatar Aug 23 '18 23:08 balasista

Interesting -- according to the docs for conversations, the to_emails field should come through as an array of strings. I wonder if it comes through as a string if there is only one entry.

If you can create a PR to add string to the possible types for to_emails at the location below, we will merge & release it: https://github.com/singer-io/tap-freshdesk/blob/89212ffd31805c94f99a8a131320fd79a663fb2a/tap_freshdesk/schemas/conversations.json#L28

nick-mccoy avatar Aug 24 '18 15:08 nick-mccoy

I'm also having the same issue. Is there any fix in the works for this?

bm1549 avatar Sep 23 '19 18:09 bm1549