heic is a highly efficient format that can represent single images or sequences of images ("live photos"). Unfortunately, it's not very well supported yet across systems. You can look online for free converters from heic to jpg.
I suspect this issue might be related to I am having trouble uploading some photos and it shows me this error. Can you please find out from that user whether their camera produces heic images? If so, they may be able to configure that in their camera app and produce jpg instead. I have never seen heic produced by an Android device so I don't know any more details on how to do that.