Exodus-Privacy / exodus

Platform to audit trackers used by Android application
https://reports.exodus-privacy.eu.org/
GNU Affero General Public License v3.0
643 stars 63 forks source link

GET /api/applications returns a 401 code #577

Closed synapticlee closed 1 year ago

synapticlee commented 1 year ago

Hi, I've been using this API mostly successfully but GET /api/applications which is documented on the README, returns a 401 error. GET /api/applications?option=short works though, as does GET /api/trackers. Is there something I'm missing? Thanks!

EDIT: GET /api/applications?option=long worked but is not documented

Jean-BaptisteC commented 1 year ago

I think, you have 401 error because you have a timeout. This API is very long because he returns all apps present in database I have doing tests, i have results after 4 minutes and 18 seconds.

synapticlee commented 1 year ago

Hmm, I got the 401 error right away whereas if I did the ?option=long it does take several minutes to process

pnu-s commented 1 year ago

Hmm I do not see any reason why you would get a 401 error with GET /api/applications but not with other endpoints. This endpoint works for me (as for @Jean-BaptisteC).

A 401 seems to indicate that there is an issue with authentication, are you sure to provide it the same way as for other endpoints?

@codeurimpulsif Do you have any idea what could happen here?

synapticlee commented 1 year ago

Hmm interesting, it works now, even though it was the exact same url, not sure what happened. Thank you for your help!