Discussions

Ask a Question
Back to All

Query Status of Analysis Failed

I'm trying to check the status of an analysis I've posted with the supplied code from this platform and I'm getting the following error code:

{"message":"User login email required in input."}

Here's the code

payload = { "analyses": [{ "uuid": "ZONE-UID" }] }
headers = {
    "accept": "application/json",
    "content-type": "application/json"
}

response = requests.post(url, json=payload, headers=headers) #url contains api key here

print(response.text)