CHW-4514 ScanRequestInvalid
scan request body could not be decoded or contained an empty packages list; supply {"packages":[{"name":"...","version":"..."},...]}
Default message: scan request body could not be decoded or contained an empty packages list; supply {“packages”:[{“name”:"…",“version”:"…"},…]}
HTTP status:400(client)
Problem. POST /api/scan returned 400. Cause. The JSON body
could not be decoded, or the decoded payload carried an empty
packages list — there is nothing to scan. Fix. Send a body of
shape {"packages":[{"name":"...","version":"..."}, ...]} with at
least one entry. HTTP 400.