[Marketplace] Collibra > Tableau Python Integration
Summary: Cyronn Herrington is seeking assistance with an issue encountered during the installation of marketplace capabilities in their EDGE environment, specifically when pushing metadata to Tableau as per the "Collibra to Tableau Integration (Python)" documentation. They experience a KeyError related to 'businessItemReference' in the Python script when running "python3.11 main.py". They are requesting resources or advice from anyone who has encountered this error or completed a similar integration.
Has anyone successfully used/installed the marketplace capability in their EDGE environment(s) and pushed metadata to Tableau?
On the last step on the documentation of Collibra to Tableau Integration (Python) - Collibra Marketplace
I'm experiencing the following error, if anyone has seen this error or have any resources to share under this thread please share. Thanks.
2025-07-14 09:43:11 - development - INFO - Task processing has started (ID: 84a74ee6-3ece- 4d8c-bf04-6218333328e7)
Traceback (most recent call last):
File "/home/ec2-user/tableau/main.py", line 165, in <module>
main()
File "/home/ec2-user/tableau/main.py", line 144, in main
asset = collibra.get_asset(task['businessItemReference']['id'])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'businessItemReference'
This happens when the "python3.11 main.py" is ran.
stefan_busch
·1 year agoHello,
I never tried using this integration but from what I can see in your error message I can think of two error scenarios:
The workflow used by the integration is not configured to apply to assets. You can check this in the settings > workflows > definitions > workflow in question > Applies To (directly under the description) (https://productresources.collibra.com/docs/collibra/latest/Content/Workflows/ManageWorkflows/co_general-wf-settings.htm) I think this has to be set to Asset (if this Option is set to Global than there is no businessItemReference I believe)
The businessItemReference field is not used anymore. In the API description of the getWorkflowTask endpoint there are two fields which contain a reference to the business item "businessItem" and "businessItemReference" I don't know if both of them are used currently.