<@U04S8PLJWMT> I have shopify connection running w...
# ask-ai
r
@kapa.ai I have shopify connection running with customer addresses stream in airbyte cloud , it is faling sync with the following error what can I do about it ? Something went wrong in the connector. See the logs for more details. expected string or bytes-like object, got 'int'
k
The error message you're seeing—`expected string or bytes-like object, got 'int'`—when syncing the Shopify
customer_address
stream in Airbyte Cloud is a known issue. This error typically occurs when the connector expects a string (often a date or timestamp) but receives an integer instead. The root cause is likely related to how the sync state or a field in the data is being handled or parsed. From the logs and issues reported, this problem has been observed in recent versions of the Shopify connector, especially when using the BULK API and checkpointing logic. The error trace shows the failure happens during parsing with the
pendulum
library, which expects a string but receives an integer, leading to the sync failure for the
customer_address
stream. This is confirmed in the following log excerpt:
Copy code
TypeError: expected string or bytes-like object ... return pdm.parse(checkpointed_cursor)
and
Copy code
During the sync, the following streams did not sync successfully: customer_address: AirbyteTracedException('expected string or bytes-like object')
[source-shopify issue #54163](https://github.com/airbytehq/airbyte/issues/54163) ### What can you do about it? 1. Check for Connector Updates: This is a connector bug, so check if there is a newer version of the Shopify connector available in Airbyte Cloud. Upgrading may resolve the issue if a fix has been released. 2. Review Your State and Data: If you have access to the sync state, check if the cursor or checkpoint values for the
customer_address
stream are integers instead of ISO8601 strings. If so, resetting the state for this stream (forcing a full refresh) may temporarily resolve the issue. 3. Contact Airbyte Support: Since this is a known issue and may require a patch, you should open a support ticket with Airbyte Cloud. Reference the error and the related GitHub issue so the support team can escalate or apply a workaround if available. 4. Monitor GitHub Issue: You can follow the progress or contribute additional details to the open issue: [source-shopify: Exception "expected string or bytes-like object" raised when syncing customer_address](https://github.com/airbytehq/airbyte/issues/54163). Note: There is no user-side configuration workaround documented in the knowledge sources. The issue is likely to require a connector update or a fix from the Airbyte team. If you need to get your syncs running urgently, you may try resetting the connection or excluding the problematic stream until a fix is available, but this is only a temporary measure. Let me know if you need guidance on how to reset the state or open a support ticket in Airbyte Cloud.