I sometimes get a 400 response with Package id not found. For instance:
GET https://api.foojay.io/disco/v3.0/ids/552c7bffe0370c66410a51c55985b511
invalid: 400 Bad Request
Text: "{"result":[],"message":"Package id not found"}"
I see 2 problems here:
- I retried this same URL later and the package was found (so maybe it was a sporadic error?)
- For an ID that's not found, HTTP 404 would be more appropriate than HTTP 400