<@U04S8PLJWMT> AirbyteConnectorInstallationError: ...
# ask-ai
c
@kapa.ai AirbyteConnectorInstallationError: The provided manifest requires additional code files (
class_name
key detected). This feature is not compatible with the declarative YAML executor. To use this executor, please try again with the Python executor. Connector Name: ‘source-mailchimp’
k
The error message you received: > AirbyteConnectorInstallationError: The provided manifest requires additional code files (
class_name
key detected). This feature is not compatible with the declarative YAML executor. To use this executor, please try again with the Python executor. means that your connector's manifest references a Python class (using the
class_name
key), which requires actual Python code files to be present. The "declarative YAML executor" can only run connectors that are fully defined in YAML (i.e., manifest-only connectors) and does not support connectors that require custom Python code. What does this mean for you? - If your connector is manifest-only (pure YAML, no custom Python code), you can use the declarative YAML executor (such as in PyAirbyte or the Connector Builder UI). - If your connector references a
class_name
(i.e., it needs custom Python code), you must use the Python executor, which can run the Python code alongside the manifest. How to proceed: - If you want to use the declarative YAML executor, remove the
class_name
key and any custom Python code dependencies from your manifest. - If your connector needs custom Python code, ensure you are using the Python executor, not the declarative YAML executor. This distinction is also reflected in Airbyte's documentation and tutorials, which explain that manifest-only connectors are compatible with the declarative executor, while connectors with custom code require the Python executor. For example, when using PyAirbyte, you can pass a manifest YAML directly if it is fully declarative, but not if it requires additional Python files or classes defined via
class_name
keys. In such cases, you must use the Python-based approach to run your connector code alongside the manifest definition [How to add custom source to PyAirbyte using the no-code builder](https://airbyte.com/tutorials/how-to-add-custom-source-to-pyairbyte-using-the-no-code-builder). If you need further details on how to structure your connector or which executor to use, please provide more information about your connector's setup.