airbytehq / airbytehq/PyAirbyte

Source Shopify: Connector Failed Error due to JSON Schema

Abierto
#307 0 comentarios 1 reacción 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

## Connector
source-shopify

## Issue
Running a source read with the below code fails with a ConnectorFailedError

```python
source = ab.get_source(
"source-shopify",
install_if_missing=True,
config={
"shop": shopify_resource["store_name"],
"credentials": {
"auth_method": "api_password",
"api_password": shopify_resource["token"],
},
},
)

source.check()
source.get_available_streams()
source.select_streams(["customers", "orders"])
bq_cache = BigQueryCache(
project_name=bigquery_resource["project_id"],
dataset_name="shopify_test",
credentials_path= file_path
)

result = source.read(cache=bq_cache, force_full_refresh=True)

return result
```

The error message is:
```
Started `source-shopify` read operation at 09:58:38...
Read started on stream: customers at 09:58:57...
Read started on stream: orders at 10:00:46...
Could not determine airbyte type from JSON schema: {'description': 'Timestamp
when the marketing consent status was last updated.', 'anyOf': [{'type':
'string', 'format': 'date-time'}, {'type': 'string'}, {'type': 'null'}]}
Failed `source-shopify` read operation at 10:03:32.
```

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.