Troubleshooting datahub cli error: 'Unable to emit metadata to DataHub GMS'

Original Slack Thread

Hi,
We are using datahub cli to ingest dbt run_results.json in S3 bucket
DataHub CLI version: 1!0.13.2+docker
Python version: 3.10.14 (main, Mar 25 2024, 21:45:25) [GCC 12.2.0]

Got this error:

               'info': {'message': '401 Client Error: Unauthorized for url: <http://datahub-datahub-gms:8080/aspects?action=ingestProposal>',
                        'urn': 'urn:li:container:db06d6181bbb3bac96050d6abcf8c929'}},```

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)