Handle for an empty jqXHR object when uploading