Error when parsing response in Python HTTP connector using Airbyte CDK

Summary

The user is facing an error ‘Unexpected type for data_or_message: <class ‘list’>’ when parsing the response into an Iterable[Mapping] type in a Python HTTP connector developed using Airbyte CDK.


Question

<@U04SE163WC8> I am using the Airbyte CDK to develop a Python HTTP connector. I have my schema file set in the /schema folders, I am also parsing the response into an Iterable[Mapping] type. However I keep getting the following error: "Unexpected type for data_or_message: &lt;class 'list'&gt;

I checked the response and made sure the schema is correct. What could be happening?



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["airbyte-cdk", "python-http-connector", "parsing-response", "iterable-mapping", "schema"]