Hi, Ive just signed up to laisar lsst uk to obtain an api token to load libraries and run statistical analysis in google colab. However, when i run the code, I get bounced out with the following:
LasairError Traceback (most recent call last)
/tmp/ipykernel_249/607217794.py in <cell line: 0>()
19 # 2. Execute the Query
20 print(“Querying Rubin 2026 Alert Stream for Void Supernovae…”)
—> 21 results = L.query(selected_columns, “objects, sherlock_classifications”, query_condition)
22
23 # 3. Process the Results
2 frames
/usr/local/lib/python3.12/dist-packages/lasair/lasair.py in fetch_from_server(self, method, input)
51 elif r.status_code == 401:
52 message = ‘Unauthorized’
—> 53 raise LasairError(message)
54 elif r.status_code == 429:
55 message = ‘Request limit exceeded. Either wait an hour, or see API documentation to increase your limits.’
LasairError: Unauthorized
Can anyone help please?