Forum Discussion

mbjamil92's avatar
mbjamil92
Data Storage
06-20-2023

HTTP Error REST_API Jupyter Notebook

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

Replies have been turned off for this discussion
  • 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?