Change file upload format to uploadUri
Handle failure