python version is : 3.10.15
mstrio-py version is : 11.4.6.101
I tried to connect to MicroStrategy and fetch reports using Python. I encountered an error, but there is no clear information about which field is causing the issue. You can find the code snippet I wrote below.
from mstrio.project_objects import Report
from mstrio.connection import get_connection, Connection
**Error getting report *** contents.I-Server Error ERR006, Invalid "fields" param. It should be either empty, or a comma-separated list of field names without whitespace. A field name can only contain alphanumeric character and must start with a letter.
python version is : 3.10.15 mstrio-py version is : 11.4.6.101 I tried to connect to MicroStrategy and fetch reports using Python. I encountered an error, but there is no clear information about which field is causing the issue. You can find the code snippet I wrote below.
from mstrio.project_objects import Report from mstrio.connection import get_connection, Connection
conn = Connection(base_url="my_url", username="my_username", password="pass", project_name="my_project") REPORT_ID = "report_id"
my_report = Report(connection=conn, id=REPORT_ID, parallel=False)
print(my_report.attributes) print(my_report.metrics)
print(my_report.to_dataframe())
**Error getting report *** contents. I-Server Error ERR006, Invalid "fields" param. It should be either empty, or a comma-separated list of field names without whitespace. A field name can only contain alphanumeric character and must start with a letter.