mozilla / remote-settings

Delivering data to Firefox
https://remote-settings.readthedocs.io/
Apache License 2.0
10 stars 13 forks source link

Crash on resign when preview/main collections are missing #637

Open leplatrem opened 2 weeks ago

leplatrem commented 2 weeks ago
echo '{"data": {"status": "to-resign"}}' | http PATCH $SERVER/buckets/security-state-staging/collections/onecrl --auth admin:$ADMIN_PASS
HTTP/1.1 500 Internal Server Error
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Retry-After, Alert, Content-Type, Content-Length, Backoff
Alt-Svc: clear
Content-Length: 177
Content-Security-Policy: default-src 'none'; frame-ancestors 'none'; base-uri 'none';
Content-Type: application/json
Date: Tue, 09 Jul 2024 16:43:48 GMT
Server: nginx
Strict-Transport-Security: max-age=31536000
Via: 1.1 google
X-Content-Type-Options: nosniff

{
    "code": 500,
    "errno": 999,
    "error": "Internal Server Error",
    "info": "https://github.com/Kinto/kinto/issues/",
    "message": "A programmatic error occured, developers have been informed."
}
leplatrem commented 2 weeks ago

Explanation: