Error when trying to read from Salesforce connector in pyAirbyte

Summary

When trying to read from a stream using pyAirbyte with Salesforce connector, encountering AirbyteConnectorFailedError. Questioning if there is a known issue with the Salesforce connector or if there is a missing configuration.


Question

Hi Everyone,
I am trying pyairbyte with Salesforce connector. I connected ok. I am able to list all streams. However when I try to read from the stream using
read_result: ab.ReadResult=source.read()
I get this error

  File "/home/daniel/sampleApp/test.py", line 20, in <module>
    read_result: ab.ReadResult=source.read()
                               ^^^^^^^^^^^^^
  File "/home/daniel/sampleApp/venv/lib/python3.12/site-packages/airbyte/sources/base.py", line 815, in read
    raise exc.AirbyteConnectorFailedError(
airbyte.exceptions.AirbyteConnectorFailedError: AirbyteConnectorFailedError: Connector failed. ```
Is there a known issue with the salesforce connector. OR is there configuration am missing?

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1720730635686899) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["pyairbyte", "salesforce-connector", "read-error", "airbyteconnectorfailederror"]
</sub>

I assume this is in pyairbyte? Could you file an issue on the main repo and make a minimum reproduction Python script in a repo or gist, with locked down versions of your environment so we can take a look?

Salesforce conmector in general is well supported and stable, so it’s either a bug in how it works why pyairbyte, or a configuration mismatch. Either way, this error message doesn’t look very helpful.

You know what. I see you’re using Python 3.12. Can you try 3.10? 3.11 should work too, but 3.12 is known to not work for the CDk itself. Sooooo