Showing the response if the API rejects it will make it clear why the upload failed, for example more advanced metadata errors.