Page MenuHomePhabricator

Error 429 after a few queries
Closed, ResolvedPublic

Description

There is an error from the API when the requests are above 5 in 10 seconds.

image.png (209×1 px, 44 KB)

See https://meta.wikimedia.org/wiki/User-Agent_policy for fixing the problem from the backend.

Event Timeline

Superzerocool created this task.

The problem seems to be in Web2Cit-Core (https://gitlab.wikimedia.org/diegodlh/w2c-core/-/blob/main/src/mediawiki/revisions.ts#L80) because the fetch hasn't set the User-Agent header

Thanks for pointing this out! I'll work on T302591 as soon as possible then. Marking this one as depending on that one.

This one should be solved. @Superzerocool, could you please confirm? Thanks!

Superzerocool claimed this task.