i can't quite replicate what you see there, but if i try to export as a gif with no frames (still image), i get what looks to be pretty much the same error, but with some more details from the converter (gifski):

but as long as there are at least 2 frames i don't encounter this error