airbytehq / airbytehq/PyAirbyte

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

Abierto
#207 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
344
Forks
77
Merge medio
1 d 11 h
PR fusionados (30 d)
35

Descripción

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()

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.