API returns Bad Gateway
Categories
(bugzilla.mozilla.org :: API, task)
Tracking
()
People
(Reporter: ewong, Unassigned)
Details
I'm currently using python and the requests module, and am encountering "502 Bad Gateway" errors sporadically. The API documentation doesn't specify what causes this.
What I'm trying to get:
https://bugzilla.mozilla.org/rest/bugs?product=SeaMonkey&component=Build Config
If I look at the chart of components, SeaMonkey::Build Config only has 65 bugs in total,
so I'm not sure I'm hitting a limit since the previous lookup for Bookmarks & History (having 99 bugs as of this writing) was ok (though I also got a Bad Gateway for that once).
I am using the BMO API key, if this makes any difference.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
In the documentation, under "Get Bug", it lists errors. 100, 101 and 102. Maybe 502 should also be included as well as an explanation?
Reporter | ||
Comment 2•4 years ago
|
||
Just ran my script again and finally got a Non-502 response:
{
"error": true,
"documentation": "https://bmo.readthedocs.io/en/latest/api/",
"message": null,
"code": 100500
}
Not exactly sure what this means as there's no message.
Description
•