Troubleshooting CLI Ingestion Errors and Compatibility with dbt-Core 1.7

Original Slack Thread

getting error on CLI ingestion (DataHub CLI version:, what does it mean?
ERROR {datahub.entrypoints:205} - Command failed: Failed to connect to DataHub: No connection adapters were found for 'localhost:8080/config'

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Are you using UI or CLI for ingestion?
  2. Which DataHub version are you using? (e.g. 0.12.0)
  3. What data source(s) are you integrating with DataHub? (e.g. BigQuery)

Ingest dbt source local file with target_platform: BigQuery

Make sure to add the http:// prefix to the server url

let me try

Now I got this error:

settings = RsTokenizerSettings(
TypeError: TokenizerSettings.__new__() got an unexpected keyword argument 'heredoc_tag_is_identifier'```

Huh what acryl-datahub version is that with?


what does pip freeze show?

e.g. the full dependency list?


I am running datahub ingest from a docker container with Python 3.10.14.

Do you have other python packages installed in the same environment?

Specifically, my guess is that sqlglotrs is installed and is causing issues

sqlglot @ git+<>

yup looks like that’s it. you can work around this by using pip install acryl-sqlglot[rs], or by setting the env variable

btw, the acryl-sqlglot package and the sqlglot version from mage-ai might conflict - I’d recommend using python virtualenvs to avoid this


Both SQLGLOTRS_TOKENIZER=0 and venv works. Thanks for your help

Does the datahub ingest support dbt-core 1.7? It seems to have trouble parsing dbt v1.7’s manifest.json.