allow external_uri to be blank