Murali
09/14/2025, 5:48 AMkapa.ai
09/14/2025, 5:48 AMdictionary update sequence element #0 has length 1; 2 is required indicates that somewhere in the connector code, a dictionary is being constructed from a sequence (like a list or tuple), but one of the elements in that sequence does not have exactly two items (a key and a value), as required by the dict() constructor in Python. This specific error was reported in the context of the Airbyte Pipedrive source connector (version 2.3.8), where a sync failed with the message: > 'Unable to connect to stream deals - dictionary update sequence element #0 has length 19; 2 is required' This suggests that the code is likely trying to convert a list of items (possibly a list of lists or a list of objects) into a dictionary, but the items are not structured as key-value pairs. For example, if you try to do dict([["a", 1, 2]]), you'll get this error because the inner list has three elements, not two. How to resolve: - Check the logs for the connector to identify where the error occurs. - Review the code where a dictionary is being constructed from a sequence, and ensure that each element in the sequence is a tuple or list of exactly two items (key and value). - If you are using a custom or recently updated connector, verify that the API response structure matches what the connector expects. This issue was specifically observed after a recent update to the Pipedrive source connector, causing streams to fail instantly with this error message. You can find more details in the related GitHub issue: [Pipedrive source connector recent update suddenly caused our streams to fail instantly](https://github.com/airbytehq/airbyte/issues/54698). If you are not the developer of the connector, you may need to report this to the connector maintainer or check for updates that address this bug.