Error . Incorrect file format. Must be pdf or image :