Hi all. I have som challenges using the Attachment control in PowerApps. I´m using it to upload images to a SharePoint list, and most of the times it works just great, but for some reason it does not always get the file extension, and the picture ends up beeing a file with no extension. Please see the picture below.

If the file extension is not available it will get the name "photo-xxxxxxx" and that has nothing to do with the actual name of the file. I have searched for solutions but have not found anything yet. Can anyone explain why this is happening?
Greetings from Denmark
Frank