Page MenuHomeSoftware Heritage
Paste P982

(An Untitled Masterwork)
ActivePublic

Authored by anlambert on Mar 23 2021, 11:18 AM.
11:17 $ curl -i -H "Authorization: Bearer ${TOKEN}" https://archive.softwareheritage.org/api/1/stat/counters/
HTTP/1.1 403 Forbidden
Date: Tue, 23 Mar 2021 10:17:27 GMT
Server: gunicorn/19.9.0
Content-Type: application/json
Vary: Accept,Cookie
Allow: HEAD, GET, OPTIONS, OPTIONS
X-Frame-Options: SAMEORIGIN
Content-Length: 142
Via: 1.1 archive.softwareheritage.org
X-Varnish: 2698479
Age: 0
Via: 1.1 varnish (Varnish/6.1)
Strict-Transport-Security: max-age=15768000;
Connection: keep-alive
{"exception":"AuthenticationFailed","reason":"400: b'{\"error\":\"invalid_grant\",\"error_description\":\"Offline user session not found\"}'"}