Thread
#secoda-support
    b

    brash-horse-81532

    3 months ago
    Hello, I'm trying to setup a connection to dbt Cloud. I'm able to establish a connection but once running the metadata extraction I get an error:
    col_type=manifest_col_content["data_type"],
    KeyError: 'data_type'
    More logs in the thread 🧵
    Dbt metadata extractor: 
    'data_type'
    Traceback (most recent call last):
      File "/app/databuilder/job/job.py", line 75, in _launch_job
        self.task.run()
      File "/app/databuilder/task/task.py", line 80, in run
        record = self.extractor.extract()
      File "/app/databuilder/extractor/database/dbt/dbt_metadata_extractor.py", line 146, in extract
        return next(self._extract_iter)
      File "/app/databuilder/extractor/database/dbt/dbt_metadata_extractor.py", line 321, in _get_extract_iter
        tbl_columns: List[ColumnMetadata] = self._get_column_values(
      File "/app/databuilder/extractor/database/dbt/dbt_metadata_extractor.py", line 487, in _get_column_values
        col_type=manifest_col_content["data_type"],
    KeyError: 'data_type'
    e

    elegant-house-93198

    3 months ago
    Hey @brash-horse-81532 thanks for sharing the logs. Could you try re-running your dbt cloud extraction now. We’ve pushed a fix for what’s shown in your logs. Let me know if it works for you now.
    @brash-horse-81532 are you part of the Too Good To Go team? If so we’ll need to coordinate with your devops team so they get the software update as well
    b

    brash-horse-81532

    3 months ago
    Hey, yep I'll send a DM