Bad error message when getting libraries bulk info using a missing charm name
Bug #1925065 reported by
Facundo Batista
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
New
|
Undecided
|
Unassigned |
Bug Description
$ curl -s -H 'Content-type: application/json' -d '
> [{"charm-name": "whatever, dude", "library-name": "ingress", "api": 0}]' \
> https:/
{
"error-list": [
{
"code": null,
"message": "Items need to include 'lib-id' or 'package_id'"
}
]
}
To post a comment you must log in.