Problem
When trying to upload images in the OSM campaign's new editor, the following error occurs:
"File extension is not supported."
Explanation
- Social media apps add characters with a period (dot) to the beginning of image file names before uploading them.
- MoEngage interprets any text after a dot as a file extension, which causes the error.
Solution
To fix this error, remove the dot from the file name.
Example
- When additional characters are added at the start of the image file name, it appears as: "Snapinsta.app_431485390_745691364337715_8350453286241390781_n_1080.jpg".
- After removing the dot from the file name, the resulting file must resemble:
“Snapinstaapp_431485390_745691364337715_8350453286241390781_n_1080.jpg“.