changed token auth errors, check is uploaded file is present