airbytehq / airbytehq/PyAirbyte

source-zendesk-support: could not determine airbyte type from JSON schema

Aperta
#207 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
344
Fork
77
Merge medio
1g 11h
PR unite (30g)
35

Descrizione

Trying to use pyairbyte to read from zendesk-support.

Connection check succeeded for `source-zendesk-support`.
Started `source-zendesk-support` read operation at 11:54:30...
Could not determine airbyte type from JSON schema: {'type': ['null', 'object', 'string'], 'properties': {'id': {'type': ['null', 'integer']}, 'assignee_id': {'type':
['null', 'integer']}, 'group_id': {'type': ['null', 'integer']}, 'reason_id': {'type': ['null', 'integer']}, 'requester_id': {'type': ['null', 'integer']},
'ticket_id': {'type': ['null', 'integer']}, 'updated_at': {'type': ['null', 'string'], 'format': 'date-time'}, 'created_at': {'type': ['null', 'string'], 'format':
'date-time'}, 'url': {'type': ['null', 'string']}, 'score': {'type': ['null', 'string']}, 'reason': {'type': ['null', 'string']}, 'comment': {'type': ['null',
'string']}}}
Completed `source-zendesk-support` read operation at 11:54:33.

Python code is:
source: ab.Source = ab.get_source("source-zendesk-support")

source.set_config(
config={
"subdomain" : "",
"credentials": {
"credentials" : "api_token",
"email":"",
"api_token": ""
},
"start_date" : "2024-01-01T00:00:00Z"
}
)

result = source.check()

source.select_streams(["tickets"])
read_result: ab.ReadResult = source.read()

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.