实例DEMO 居然报错,求高手解答!!!
Failed to get a federation token.
Error code: InvalidApi.NotFound
Error message: Specified api is not found, please check your url and method.
com.aliyuncs.exceptions.ClientException: InvalidApi.NotFound : Specified api is not found, please check your url and method.
at com.aliyuncs.DefaultAcsClient.parseAcsResponse(DefaultAcsClient.java:139)
at com.aliyuncs.DefaultAcsClient.getAcsResponse(DefaultAcsClient.java:89)
at com.aliyun.sts.demo.test.StsServiceSample.getFederationToken(StsServiceSample.java:35)
at com.aliyun.sts.demo.test.StsServiceSample.main(StsServiceSample.java:66)
Sending HTTP request GET https://api.dingtalk.com/v1.0/contact/users?unionId=me [15:19:05 INF] Received HTTP response headers after 172.5106ms - 404 [15:19:05 INF] End processing HTTP request 404 [Content:{"code":"InvalidAction.NotFound","requestid":"BF14D377-E6FE-76A7-999A-0867583A0C30","message":"Specified api is not found, please check your url and method."}] [15:19:05 INF] End processing HTTP request after 198.0723ms - 404
-------------------------
-------------------------
-------------------------
看提示是指定API没找到,接口函数名写对了吗
-------------------------
嗯,应该是这样吧
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。