tokern / data-lineage

Generate and Visualize Data Lineage from query history
https://tokern.io/data-lineage/
MIT License
311 stars 45 forks source link

400 BAD Request when Calling /api/v1/catalog/sources #87

Open CollinKendor opened 2 years ago

CollinKendor commented 2 years ago

Hi,

i am trying to connect data_lineage to an external postgresql database but am receiving 400 BAD Request error when calling /api/v1/catalog/sources end point. we deployed data_lineage using docker. Following the example, we pass:

edw_db = { "username": "<external postgres username>", "password": "somepassw0rd|", "uri": "<external postgresql hostname>", "port": "<external postgresql port>", "database": "<external postgresql database>" }

to

source = catalog.add_source(name="edw", source_type="postgresql", **edw_db)

but it seems we get the error here. Please help.

vrajat commented 2 years ago

Can you provide logs from the docker container? docker container logs <id>