Page MenuHomePhabricator

Echo "Failed to fetch API response from {wiki}. Error:" without actual error message
Open, Needs TriagePublicBUG REPORT

Description

There was a big spike of these recently:

Screenshot Capture - 2023-05-26 - 18-14-28.png (390×1 px, 38 KB)

which I think isn't that big of a deal, except the error parameter was unset:
Screenshot Capture - 2023-05-26 - 18-15-26.png (344×1 px, 24 KB)

(link)
Or maybe this is the thing where the same field name is used with a different type for different log entries, and Logstash is unable to handle that?

In any case, it's something to be fixed in the logging code and should be looked into.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Currently about 60 events per day. Though should this not be classified as "Production Error" instead?

I think this is just due to the MW API returning an error with a 200 status code. We've seen the same in GlobalContributions, where e.g. the centralauthtoken being invalid would cause that.

Additional logging can help confirm this.