Closed
Bug 1285160
Opened 8 years ago
Closed 5 years ago
Problem getting questions using the v2 API
Categories
(support.mozilla.org :: General, defect, P3)
support.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: acs, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/51.0.2704.79 Chrome/51.0.2704.79 Safari/537.36 Steps to reproduce: https://support.mozilla.org/api/2/question/?page=17624 Actual results: Server error Expected results: Return a JSON with the questions in this page. https://support.mozilla.org/api/2/question/?page=17623 https://support.mozilla.org/api/2/question/?page=17625 are working.
Comment 1•8 years ago
|
||
Hi Alvaro. Can you still reproduce this issue? It works from my browser (tested from Fennec).
Component: Questions → General
Updated•8 years ago
|
Flags: needinfo?(acs)
Reporter | ||
Comment 2•8 years ago
|
||
No, I can not reproduce it anymore!
Comment 3•8 years ago
|
||
Giorgos, can you investigate deeper in the logs?
Flags: needinfo?(acs) → needinfo?(giorgos)
Updated•8 years ago
|
Flags: needinfo?(giorgos)
Reporter | ||
Comment 4•8 years ago
|
||
I am having issues more frequently now. For example: https://support.mozilla.org/api/2/question/?ordering=updated&page=896 gives me an INTERNAL SERVER ERROR Similar issues with other pager ...
Comment 5•8 years ago
|
||
Alvaro how do you use this data?
Reporter | ||
Comment 6•8 years ago
|
||
We are working on creating metrics Dashboard for contribution on Mozilla. In this case, we are using the perceval backend (not the final version yet): https://github.com/acs/perceval/blob/kitsune/perceval/backends/kitsune.py The idea is to get all questions and their answers in a first iteration and then update incrementally the data.
Reporter | ||
Comment 7•8 years ago
|
||
https://github.com/grimoirelab/perceval/blob/master/perceval/backends/kitsune.py Backend now available officially.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•