|Gehel added a subscriber: Smalyshev.|
Gehel added a comment.
The "Rate limit exceeded" is definitely a rate limit issue. Making sure the requests are sent serially would certainly help. Just running them when the related <div/> is visible is probably good enough, and would most probably reduce the load on the WDQS servers.
Looking at the requests made from https://tools.wmflabs.org/scholia/author/Q8219, I see that at least some of the requests generating an HTTP 500 seem to have a syntax issue, leading to a java.lang.IllegalArgumentException: Non-aggregate variable in select _expression_: work. Those request should result in an HTTP 400, but that's probably non trivial to fix on our side. @Smalyshev might have an idea to fix the HTTP status, but the root issue seems to be the query.
Cc: Smalyshev, EgonWillighagen, Jonas, Gehel, Fnielsen, Aklapper, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidataemail@example.com https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs