Raise an error if no endpoint is configured