Hi!
I had the same issue 28th Feb. I had to add 'probes - Get non-public measurement results' to my API key to fix it.
Regards,
Grzegorz
From: Daniel Ankers <md1clv@md1clv.com>
Date: Thursday 2018-03-08 at 18:27
To: "ripe-atlas@ripe.net" <ripe-atlas@ripe.net>
Subject: [atlas] API Keys problem?
Has there been a change in the way that API keys work for the measurement results API?
I've got an API key which is granted permission to get results from a non-public measurement. When I do:
curl -H "Authorization: Key $KEY" "https://atlas.ripe.net/api/
v2/measurements/$MEASUREMENT/ 1520510400"results/?start=
(Replacing $KEY with the key and $MEASUREMENT with the measurement ID) I get:
{"error":{"status":400,"
errors":[{"source":{"pointer": ""},"detail":"Your keys has no grants"}],"code":102,"detail": "There was a problem with your request","title":"Bad Request"}}
This was previously working, but I'm not sure exactly when it stopped. I've checked that getting the data through my browser works while I'm logged into the site, and that if I request https://atlas.ripe.
net/api/v2/measurements/$ using the API key I get data returned.MEASUREMENT/latest
Regards,
Dan