Hi There,
Can someone throw somelight on the below error while trying to execute the python script inturn calling the pre defined python scripts. I tried using the Post Man and it seems a different error using it.
Thanks in advance
Error while Executing the python script:
Traceback (most recent call last):
File "1_Opex_PL_Reports_Test -kc.py", line 74, in <module> df_GL = tm1.cubes.cells.execute_mdx_dataframe(mdxStatements.mdx_GL)
File "C:\Automation\env\lib\site-packages\TM1py\Services\CellService.py", line 368, in execute_mdx_dataframecellset_id = self.create_cellset(mdx)
File "C:\Automation\env\lib\site-packages\TM1py\Services\CellService.py", line 830, in create_cellset
response = self._rest.POST(request=request, data=json.dumps(data, ensure_ascii=False))
File "C:\Automation\env\lib\site-packages\TM1py\Services\RESTService.py", line40, in wrapperself.verify_response(response=response)
File "C:\Automation\env\lib\site-packages\TM1py\Services\RESTService.py", line314, in verify_response
raise TM1pyException(response.text, status_code=response.status_code, reason=response.reason)
TM1py.Exceptions.Exceptions.TM1pyException: Text: Status Code: 401 Reason: Unauthorized
Error from Postman attached.
------------------------------
Karunakar Viswaraju
------------------------------
#PlanningAnalyticswithWatson