我的集成商密钥在演示环境中运行良好,我成功地将密钥转移到了生产环境。 (当我进入生产管理控制台时,密钥列在API和密钥部分下)
问题是当我尝试使用生产属性创建apiClient对象时,我得到一个IndexOutOfBoundsException,因为loginInfo.getLoginAccounts()集合为空。我使用了Java自述文件存储库中的服务集成代码段。
EXECUTE sp_executesql
N'SELECT client, brand, SUM(anterior) anterior, SUM(curent) curent
FROM (
SELECT CASE WHEN t1.zona IS NULL THEN t2.zona ELSE t1.zona END AS zona,
CASE WHEN t1.client IS NULL THEN t2.client ELSE t1.client END AS client,
CASE WHEN t1.brand IS NULL THEN t2.brand ELSE t1.brand END AS brand,
CASE WHEN t1.'+@luna+' IS NULL THEN 0 ELSE t1.'+@luna+' END AS anterior,
CASE WHEN t2.'+@luna+' IS NULL THEN 0 ELSE t2.'+@luna+' END AS curent
FROM cbm2016 t1
FULL OUTER JOIN cbm2017 t2 ON t1.zona = t2.zona
AND t1.client = t2.client
AND t1.brand = t2.brand ) t3
WHERE zona = '+@zona+'
GROUP BY client, brand'
有什么想法解决这个问题吗?
答案 0 :(得分:2)
尝试点击Postman或任何Rest Client中的端点下方,看看您是否在通话中看到任何响应。 https://{{environmentValue}}/restapi/v2/login_information?api_password=true
{{environmentValue}}
将是www.docusign.net,或na2.docusign.net或na3.docusign.net,您知道您的帐户存在于哪个DocuSign网站吗?如果它的NA1然后你需要点击www.docusign.net,如果NA2然后na2.docusign.net和na3.docusign.net为NA3网站