Troubleshooting
Problem
The CADataConnector.read_data method results in an error message when the table_name parameter has more than one table defined.
An example of the table_name parameter:
CADataConnector.read_data(path=".public_folders/Samples/Data Module Test/Orders", table_name=["ORDER_HEADER","ORDER_DETAILS"])
CADataConnector.read_data(path=".public_folders/Samples/Data Module Test/Orders", table_name=["ORDER_HEADER","ORDER_DETAILS"])
Symptom
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/usr/local/lib/python3.7/site-packages/ca_data_connector/helpers.py in get_data_for_sheet(id, data_type, column_list, nrows, offset)
107 try:
--> 108 r = session.post(url, verbose=True, files=payload)
109 except Exception as e:
/usr/local/lib/python3.7/site-packages/ca_data_connector/ca_lib.py in post(self, url, verbose, **kwargs)
97 def post(self, url, verbose=False, **kwargs):
---> 98 return make_rest_call(self, url, requests.post, verbose, **kwargs)
99
/usr/local/lib/python3.7/site-packages/ca_data_connector/ca_lib.py in make_rest_call(session, url, rest_function, verbose, **kwargs)
59 response = rest_function(url, **kwargs)
---> 60 test_request_success(response, verbose)
61 return response
/usr/local/lib/python3.7/site-packages/ca_data_connector/ca_lib.py in test_request_success(response, verbose)
38 e.status_code = response.status_code
---> 39 raise e
40
{"errors":[{"code":"XQE-MSR-0008","message":"In module \"Orders\", the following query subjects are not joined: \
"Order Details\", \"Order Header\".","details":"XQE-MSR-0008 In module \"Orders\", the following query subjects are
not joined: \"Order Details\", \"Order Header\".\r\n\tat com.cognos.xqemoser.MoserMetadataConnection.throwNoRelationship(MoserMetadataConnection.java:1450)\r\n\tat
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m0z000000GpAVAA0","label":"Jupyter Notebook"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
15 January 2026
UID
ibm16602527