I was testing the duplicate files api and apparently it fails for some inputs. I am not able to find a pattern though.

An example api query which fails: http://commons.wikimedia.org/w/api.php?action=query&generator=allimages&prop=duplicatefiles&gailimit=500&format=xml&gaifrom=Hugo

Am I doing something wrong?

- Sreejith K.