调用获取人员或者组织的接口的时候发现调用失败
金蝶云社区-云社区用户64sP1234
云社区用户64sP1234
0人赞赏了该文章 1,294次浏览 未经作者许可,禁止转载编辑于2018年07月21日 14:50:03

-------------------s:{"data":{"accessToken":"SBamBx3BkQPtlEO4C1zAfo98W9jUryPk","expireIn":6170,"refreshToken":"vYjJxKpD9UvFllZ1AfWVoH04lFyEnB00"},"error":null,"errorCode":0,"success":true}
---------tolen:SBamBx3BkQPtlEO4C1zAfo98W9jUryPk
-------------------ret:{"data":null,"error":"认证失败","errorCode":10000401,"success":false,"throwable":null,"timestamp":1532154171660,"traceId":"3d87b273eee74a0faf33b82de4d361a0"}

获取token的时候是没问题的,但是发现继续访问通讯录接口的时候就出现认证失败了。
https://www.yunzhijia.com/gateway/opendata-control/data/getallpersons 接口地址,参数为time 和eid 并且header也 headers.put("Content-Type", "application/x-www-form-urlencoded"); 过了。。。
请问总部老师这是什么情况