<div dir="ltr">Hi Grzegorz,<div><br><div>"<span lang="EN-US" style="font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;color:black">probes - Get non-public measurement results" is exactly what was needed - thank you!</span></div><div><font color="#000000"><br></font></div><div><font color="#000000">Regards,</font></div><div><font color="#000000">Dan<br></font><div class="gmail_extra"><br><div class="gmail_quote">On 8 March 2018 at 17:30, Ponikierski, Grzegorz <span dir="ltr"><<a href="mailto:gponikie@akamai.com" target="_blank">gponikie@akamai.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="PL" link="blue" vlink="purple">
<div class="m_-4618794652040896725WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Hi!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">I had the same issue 28<sup>th</sup> Feb. I had to add '</span><span lang="EN-US" style="color:black">probes - Get non-public measurement results</span><span lang="EN-US">' to my API
key to fix it.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Grzegorz<u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Daniel Ankers <<a href="mailto:md1clv@md1clv.com" target="_blank">md1clv@md1clv.com</a>><br>
<b>Date: </b>Thursday 2018-03-08 at 18:27<br>
<b>To: </b>"<a href="mailto:ripe-atlas@ripe.net" target="_blank">ripe-atlas@ripe.net</a>" <<a href="mailto:ripe-atlas@ripe.net" target="_blank">ripe-atlas@ripe.net</a>><br>
<b>Subject: </b>[atlas] API Keys problem?<u></u><u></u></span></p>
</div><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a name="m_-4618794652040896725__MailOriginalBody">Hi, <u></u><u></u></a></p>
<div>
<p class="MsoNormal"><span>Has there been a change in the way that API keys work for the measurement results API?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>I've got an API key which is granted permission to get results from a non-public measurement. When I do:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span>curl -H "Authorization: Key $KEY" "</span><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__atlas.ripe.net_api_v2_measurements_-24MEASUREMENT_results_-3Fstart-3D&d=DwMFaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=XA7UqyUiWhQ8cJzGZlnLA89Ync-_75lLOvUCSOji-4w&m=iNz0AYGxeocaIuxLsWKwKh7K2h16JzQdTtmW8FDBRM8&s=03N6T0foyEskCISQ98sngVX9ouV1p9LqRtRch3UuQvM&e=" target="_blank"><span>https://atlas.ripe.net/api/<wbr>v2/measurements/$MEASUREMENT/<wbr>results/?start=</span><span></span></a><span><span style="font-size:10.5pt;font-family:"lucida grande",sans-serif;color:black;background:white">1520510400</span></span><span>"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>(Replacing $KEY with the key and $MEASUREMENT with the measurement ID) I get:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>{"error":{"status":400,"<wbr>errors":[{"source":{"pointer":<wbr>""},"detail":"Your keys has no grants"}],"code":102,"detail":<wbr>"There was a problem with your request","title":"Bad Request"}}<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span>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 </span><span></span><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__atlas.ripe.net_api_v2_measurements_-24MEASUREMENT_latest&d=DwMFaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=XA7UqyUiWhQ8cJzGZlnLA89Ync-_75lLOvUCSOji-4w&m=iNz0AYGxeocaIuxLsWKwKh7K2h16JzQdTtmW8FDBRM8&s=_Dap2R7tBQ2vl_PClpD1bzGT6Hu_4P0mfvEqEyKxvPs&e=" target="_blank"><span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;background:white">https://atlas.ripe.<wbr>net/api/v2/measurements/$<wbr>MEASUREMENT/latest</span></span><span></span></a><span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">
using the API key I get data returned.</span></span><span><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white"><br>
<br>
</span></span><span><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">Regards,</span></span><span><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;background:white">Dan</span></span><span><u></u><u></u></span></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div></div></div></div>