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)

defect

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.
Hi Alvaro.

Can you still reproduce this issue? It works from my browser (tested from Fennec).
Component: Questions → General
Flags: needinfo?(acs)
No, I can not reproduce it anymore!
Giorgos, can you investigate deeper in the logs?
Flags: needinfo?(acs) → needinfo?(giorgos)
Flags: needinfo?(giorgos)
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 ...
Alvaro how do you use this data?
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.
Priority: -- → P3
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.