Page MenuHomePhabricator

Wikifile-transfer tool :AxiosError: Request failed with status code 502
Open, Needs TriagePublicBUG REPORT

Description

I've been trying to upload a copy of true event based films to Tamil Wikipedia for the existing articles.

  1. https://en.wikipedia.org/wiki/File:American_Made_(film).jpg
  2. https://en.wikipedia.org/wiki/File:Queen_of_Katwe_poster.jpg
  3. https://en.wikipedia.org/wiki/File:Captain_Phillips_Poster.jpg
  4. https://en.wikipedia.org/wiki/File:Dumb_money_poster.png
  5. https://en.wikipedia.org/wiki/File:Boys_in_the_boat_poster.jpg
  6. https://en.wikipedia.org/wiki/File:Pearl_harbor_movie_poster.jpg
  7. https://en.wikipedia.org/wiki/File:Origin_2023_film_poster.jpg
  8. https://en.wikipedia.org/wiki/File:The_Boy_Who_Harnessed_the_Wind.jpg
  9. https://en.wikipedia.org/wiki/File:Padman_poster.jpg
  10. https://en.wikipedia.org/wiki/File:Mary_and_max_poster.jpg

What happens?:
It consistently fails with "An error occurred during upload.: AxiosError: Request failed with status code 502", and has been doing so for about 20 days.

Other information (browser name/version, screenshots, etc.):
But the same day when error appears , https://ta.wikipedia.org/wiki/%E0%AE%AA%E0%AE%9F%E0%AE%BF%E0%AE%AE%E0%AE%AE%E0%AF%8D:Asima_Chatterjee_1.jpg this fle transfer done smoothly. Why? please fix the bug. While doing college workshops, this is making an obstacle.

I also reported an issue in the github also : https://github.com/indictechcom/wikifile-transfer/issues/42
Thanks in advance.

Event Timeline

I don't know where Indic-TechCom has its main issue tracker. It is not a good idea to have two places (Github and Phabricator) where folks can post issues.

This issue is fixed why it is still heare

This issue is fixed why it is still heare

If you think so then please elaborate what makes you think so. Thanks.

I was able to reproduce a similar issue today (March 29, 2026). I attempted to transfer https://commons.wikimedia.org/wiki/File:An_indigenous_broom.jpg from Commons to Wikimedia Meta using the live tool at wikifile-transfer.toolforge.org.
The transfer failed at Step 3 ("Name of Target File") with: AxiosError: Request failed with status code 500
This is a different error code from the original report (502), which may indicate two separate failure modes — one in the upstream proxy (502) and one in the Flask backend itself (500). The 500 suggests an unhandled exception in the application code.
I'm currently setting up a local development environment and have been going through the codebase on GitHub to familiarize myself with the project. I would be happy to help investigate and contribute a fix.