the file's extension, "png", does not match its underlying file type.

Hello. I'm getting this error in our UAT Environemnt while uploading PNG file. but in our DEV environment the file upload is working properly

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to ElmuchoDingdong

    That doesn't really tell you what the file's apparent underlying format is.  This can be a bit of a wild goose chase, but if you open the file in a (competent) text editor / hex editor, you might be able to check whether its metadata (usually the first few lines of text at the beginning of the file, which will look like garbage but contain some readable stuff) identifies it as a PNG or as some other image file type. 

    If it really is a PNG (or you have strong reason to believe it is at least), you could alert Appian via a support case that the "block file not matching underlying type" feature Richard identified earlier is falsely flagging files.

    For reference here's the first few lines of a PNG file opened in Notepad++

    Versus the same from a .jpg file:

Children
No Data