cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Error REST_API Jupyter Notebook

mbjamil92
7 - Data Storage
7 - Data Storage

Hi, I am using REST_API from the custom code section and want to query my elasticube but i am getting a below error:

{'error': {'status': 401, 'httpMessage': 'Unauthorized'}}

I am using the below query:

logical_sql_res = sisense_conn.get_logical_sql(query=logical_sql, cube_name=cube_name)
results = [x[:] for x in logical_sql_res["values"]]

But facing issues, this was working fine last week. Can someone help?

1 REPLY 1

Bhavithra
7 - Data Storage
7 - Data Storage

Hi @mbjamil92 , 
   we are also facing same issue while custom code executes as part of scheduled cube build.

Interested to know, whether you have you got any solution?