Hello,
I am writing a small program in python where I am testing connectivity to our datalake in the training environment. I have established connectivity to the api using updated credentials, and am able to send a query
I've verified the authorization token is valid as well as verified the query returns results in data fabric.
However when trying to retrieve the query results it returns
"Failed to retrieve query results. Status code: 404
Response: {"messageCode":"711","messageCategory":"API","messageType":"ERROR","message":"Query not found."
I took a deeper dive into the json response and found that the "state" field of the query never leaves the "running" state, making the results unavailable.
response = requests.post(url, headers=aheaders, data=sql_query)
data = response.json()
queryId = data["queryId"]
status = data["status"]
Has anyone experienced a similar issue?