Fixed method error for getting clientId