I know this is an old thread, but I had the same problem too. For some reason, exporting a gif from Aseprite gives you the error message. To fix this, I imported my custom head into GIMP, exported it and then it was accepted.