API returns invalid JSON for some branches
Bug #1852034 reported by
Jelmer Vernooij
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
New
|
Undecided
|
Unassigned |
Bug Description
$ curl https:/
Returns a valid branch page in HTML.
However:
$ curl -D/dev/stdout -H 'Accept: application/json' https:/
HTTP/1.1 404 Not Found
...
Object: <lp.systemhomes
For other branches, I do get back a valid JSON response with this curl command.
Changed in launchpad: | |
status: | Invalid → New |
description: | updated |
To post a comment you must log in.
Happens to me with a suspended user as well:
$ curl -H 'Accept: application/json' https:/ /api.launchpad. net/1.0/ ~9d9
u'User is suspended: ~9d9'
This breaks utilities like https:/ /github. com/johnf/ github- issue-importer as the response cannot be parsed.