Error message should be `"Unsupported file format. Only PNG and JPG are supported."`