Throw error if we have no UA setting.