When uploading a duplicate file, a popup will appear saying that it's been uploaded even though the JSON returned indicates that an error occurred.