```~~~~ Execution Summary ~~~~ RUN_INGEST - {'err...
# troubleshoot
b
Copy code
~~~~ Execution Summary ~~~~

RUN_INGEST - {'errors': [],
 'exec_id': 'e84cc000-058f-4fa0-a2e1-6ad532762012',
 'infos': ['2022-11-07 03:41:59.324788 [exec_id=e84cc000-058f-4fa0-a2e1-6ad532762012] INFO: Starting execution for task with name=RUN_INGEST',
           '2022-11-07 03:42:05.614780 [exec_id=e84cc000-058f-4fa0-a2e1-6ad532762012] INFO: stdout=venv setup time = 0\n'
           'This version of datahub supports report-to functionality\n'
           'datahub  ingest run -c /tmp/datahub/ingest/e84cc000-058f-4fa0-a2e1-6ad532762012/recipe.yml --report-to '
           '/tmp/datahub/ingest/e84cc000-058f-4fa0-a2e1-6ad532762012/ingestion_report.json\n'
           '[2022-11-07 03:42:03,375] INFO     {datahub.cli.ingest_cli:182} - DataHub CLI version: 0.9.1\n'
           '[2022-11-07 03:42:03,432] INFO     {datahub.ingestion.run.pipeline:175} - Sink configured successfully. DataHubRestEmitter: configured '
           'to talk to <http://datahub-gms:8080>\n'
           '[2022-11-07 03:42:04,848] ERROR    {datahub.entrypoints:192} - \n'
           'Traceback (most recent call last):\n'
           '  File "/tmp/datahub/ingest/venv-superset-0.9.1/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 196, in __init__\n'
           '    self.source: Source = source_class.create(\n'
           '  File "/tmp/datahub/ingest/venv-superset-0.9.1/lib/python3.10/site-packages/datahub/ingestion/source/superset.py", line 168, in create\n'
           '    return cls(ctx, config)\n'
           '  File "/tmp/datahub/ingest/venv-superset-0.9.1/lib/python3.10/site-packages/datahub/ingestion/source/superset.py", line 148, in '
           '__init__\n'
           '    self.access_token = login_response.json()["access_token"]\n'
           "KeyError: 'access_token'\n"
           '\n'
           'The above exception was the direct cause of the following exception:\n'
           '\n'
           'Traceback (most recent call last):\n'
           '  File "/tmp/datahub/ingest/venv-superset-0.9.1/lib/python3.10/site-packages/datahub/cli/ingest_cli.py", line 197, in run\n'
           '    pipeline = Pipeline.create(\n'
           '  File "/tmp/datahub/ingest/venv-superset-0.9.1/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 317, in create\n'
           '    return cls(\n'
           '  File "/tmp/datahub/ingest/venv-superset-0.9.1/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 202, in __init__\n'
           '    self._record_initialization_failure(\n'
           '  File "/tmp/datahub/ingest/venv-superset-0.9.1/lib/python3.10/site-packages/datahub/ingestion/run/pipeline.py", line 129, in '
           '_record_initialization_failure\n'
           '    raise PipelineInitError(msg) from e\n'
           'datahub.ingestion.run.pipeline.PipelineInitError: Failed to configure source (superset)\n'
           '[2022-11-07 03:42:04,848] ERROR    {datahub.entrypoints:195} - Command failed: \n'
           '\tFailed to configure source (superset) due to \n'
           "\t\t''access_token''.\n"
           '\tRun with --debug to get full stacktrace.\n'
           "\te.g. 'datahub --debug ingest run -c /tmp/datahub/ingest/e84cc000-058f-4fa0-a2e1-6ad532762012/recipe.yml --report-to "
           "/tmp/datahub/ingest/e84cc000-058f-4fa0-a2e1-6ad532762012/ingestion_report.json'\n",
           "2022-11-07 03:42:05.615068 [exec_id=e84cc000-058f-4fa0-a2e1-6ad532762012] INFO: Failed to execute 'datahub ingest'",
           '2022-11-07 03:42:05.616189 [exec_id=e84cc000-058f-4fa0-a2e1-6ad532762012] INFO: Caught exception EXECUTING '
           'task_id=e84cc000-058f-4fa0-a2e1-6ad532762012, name=RUN_INGEST, stacktrace=Traceback (most recent call last):\n'
           '  File "/usr/local/lib/python3.10/site-packages/acryl/executor/execution/default_executor.py", line 123, in execute_task\n'
           '    task_event_loop.run_until_complete(task_future)\n'
           '  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete\n'
           '    return future.result()\n'
           '  File "/usr/local/lib/python3.10/site-packages/acryl/executor/execution/sub_process_ingestion_task.py", line 227, in execute\n'
           '    raise TaskError("Failed to execute \'datahub ingest\'")\n'
           "acryl.executor.execution.task.TaskError: Failed to execute 'datahub ingest'\n"]}
Execution finished with errors.
Hi all, I'm ingesting data from superset and got this issued. Any clue on that? Thank you
f
Copy code
Failed to configure source (superset) due to `access_token`
Please check your config again. Make sure that
access_token
variable is accepted by datahub-gms. https://datahubproject.io/docs/generated/ingestion/sources/superset/#starter-recipe
b
where can i get this access_token @famous-florist-7218?
f
Did you enable metadata service authentication? If yes, take a look at this https://datahubproject.io/docs/authentication/introducing-metadata-service-authentication