Issue with schema discovery in custom connector

Summary

Error message ‘Discovering schema failed common.error’ when creating a connection to a custom connector. No additional information provided in the error message.


Question

Hello, I face issue while creating a connexion to a connector I have created :

common.error```
 There is no issue when testing in the connector builder, nor when testing the source, everything works well there. The error message does not give more information so I’m really stuck...
Any idea ? Thanks !

<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/C027KKE4BCZ/p1713433679095939) if you want to access the original thread.

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

<sub>
["schema-discovery", "custom-connector", "error-message"]
</sub>

Hi <@U028HUR1TJR>, i’m not sure why the error message you’re getting is not helpful. One idea based on having helped someone else with a similar error is that they had configured a primary key that wasn’t actually in the schema. This specifically did work in a newer version of the platform (including airbyte cloud)

If you’re using OSS, it might be worth trying to recreate your connector in cloud and seeing if discover works. If it does, upgrading your airbyte version may help (I think the platform got better at inferring a primary key, or something similar)

cc <@U06PJ7EL1CK> if you want to provide any debugging tips :slightly_smiling_face:

Hello, thanks for the answer. I ended up updating Airbyte to 0.57.3, which solved the issue. I was previously on 0.51