授权失败access fetch error,急,感谢
起航工作使 发布于2018-12-05 20:21 浏览:109 回复:6
1
收藏

如题,论坛里面也有其他人遇到,都是没有说明原因,请问这个具体是哪里的问题。

万分感谢!

应用平台:智能家居技能
编程语言:C#
问题描述:

授权重定向返回access fetch error

Appid:
相关代码:

https://xiaodu.baidu.com/saiya/auth/5a103da54ab06584025abb15cbed7352?code=1ff0f05d8601904a85d1ddde551543de6a7621d6&state=debug

 

收藏
点赞
1
个赞
共6条回复 最后由CXY___King回复于2018-12-08 20:30
#2DuerOS-河徒回复于2018-12-06

您好,感谢您对DuerOS的关注与支持

提供下技能ID

祝您开发愉快!

了解最新资讯,请关注微信公众账号:度客俱乐部

参与同行探讨,马上加入QQ交流群:310427350

更多资源获取

常见问题答疑:https://dueros.baidu.com/forum/topic/show/248181

技术文档指南:https://dueros.baidu.com/didp/doc/index

技术视频教程:https://dueros.baidu.com/didp/news/technicalclass

如有商务合作,请发送邮件至邮箱dueros-bd@baidu.com与我们联系。

0
#3happy回复于2018-12-07

请求技能access_token时技能返回的数据格式有问题

fetchAccessTokenRequest:{"url":"https:\/\/www.acematic.com.cn\/token?client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&grant_type=authorization_code&client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&redirect_uri=https%253A%252F%252Fxiaodu.baidu.com%252Fsaiya%252Fauth%252F5a103da54ab06584025abb15cbed7352&code=123","timeout":4000,"method":"post","data":"client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&grant_type=authorization_code&client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&redirect_uri=https%253A%252F%252Fxiaodu.baidu.com%252Fsaiya%252Fauth%252F5a103da54ab06584025abb15cbed7352&code=123"} fetchAccessTokenResponse:%0D%0A%0D%0A<!DOCTYPE%20html>%0D%0A%0D%0A<html%20xmlns="http://www.w3.org/1999/xhtml">%0D%0A<head><meta%20http-equiv="Content-Type"%20content="text/html;%20charset=utf-8"%20/><title>%0D%0A%0D%0A</title></head>%0D%0A<body>%0D%0A%20%20%20%20<form%20method="post"%20action="token.aspx?client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&amp;grant_type=authorization_code&amp;client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&amp;redirect_uri=https%253a%252f%252fxiaodu.baidu.com%252fsaiya%252fauth%252f5a103da54ab06584025abb15cbed7352&amp;code=123"%20id="form1">%0D%0A<input%20type="hidden"%20name="__VIEWSTATE"%20id="__VIEWSTATE"%20value="/wEPDwUKLTU0MDE3NjkzMWRkvA+2f24ycMZEg6iPHq6N5KEP9gaDsVi2K3Jj7kM+hIg="%20/>%0D%0A%0D%0A<input%20type="hidden"%20name="__VIEWSTATEGENERATOR"%20id="__VIEWSTATEGENERATOR"%20value="97971A5D"%20/>%0D%0A<input%20type="hidden"%20name="__EVENTVALIDATION"%20id="__EVENTVALIDATION"%20value="/wEdAAYsx5IhXYnbLjE+T8gVNe18OuE23lnxLIQl/+x7BPyyd17FMUmmeBAsRDDma8MSHr7nQDg3S8mjc49FwngOXnTTebQkrTcEeXGprmgUDMG1+2oH77pHTLH60vLJ9urA9b83TNU8qFhhgIvkJhhVaQHM1XnxvDvFtYII0wVz2QSjHg=="%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="grant_type"%20type="hidden"%20id="grant_type"%20value="authorization_code"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="client_id"%20type="hidden"%20id="client_id"%20value="AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="client_secret"%20type="hidden"%20id="client_secret"%20value="k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="code"%20type="hidden"%20id="code"%20value="123"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="redirect_uri"%20type="hidden"%20id="redirect_uri"%20value="https://xiaodu.baidu.com/saiya/auth/5a103da54ab06584025abb15cbed7352"%20/>%0D%0A%20%20%20%20</form>%0D%0A</body>%0D%0A</html>%0D%0A

0
#4起航工作使回复于2018-12-07
#3 happy回复
请求技能access_token时技能返回的数据格式有问题 fetchAccessTokenRequest:{"url":"https:\/\/www.acematic.com.cn\/token?client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&grant_type=authorization_code&client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&redirect_uri=https%253A%252F%252Fxiaodu.baidu.com%252Fsaiya%252Fauth%252F5a103da54ab06584025abb15cbed7352&code=123","timeout":4000,"method":"post","data":"client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&grant_type=authorization_code&client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&redirect_uri=https%253A%252F%252Fxiaodu.baidu.com%252Fsaiya%252Fauth%252F5a103da54ab06584025abb15cbed7352&code=123"} fetchAccessTokenResponse:%0D%0A%0D%0A<!DOCTYPE%20html>%0D%0A%0D%0A<html%20xmlns="http://www.w3.org/1999/xhtml">%0D%0A<head><meta%20http-equiv="Content-Type"%20content="text/html;%20charset=utf-8"%20/><title>%0D%0A%0D%0A</title></head>%0D%0A<body>%0D%0A%20%20%20%20<form%20method="post"%20action="token.aspx?client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&amp;grant_type=authorization_code&amp;client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&amp;redirect_uri=https%253a%252f%252fxiaodu.baidu.com%252fsaiya%252fauth%252f5a103da54ab06584025abb15cbed7352&amp;code=123"%20id="form1">%0D%0A<input%20type="hidden"%20name="__VIEWSTATE"%20id="__VIEWSTATE"%20value="/wEPDwUKLTU0MDE3NjkzMWRkvA+2f24ycMZEg6iPHq6N5KEP9gaDsVi2K3Jj7kM+hIg="%20/>%0D%0A%0D%0A<input%20type="hidden"%20name="__VIEWSTATEGENERATOR"%20id="__VIEWSTATEGENERATOR"%20value="97971A5D"%20/>%0D%0A<input%20type="hidden"%20name="__EVENTVALIDATION"%20id="__EVENTVALIDATION"%20value="/wEdAAYsx5IhXYnbLjE+T8gVNe18OuE23lnxLIQl/+x7BPyyd17FMUmmeBAsRDDma8MSHr7nQDg3S8mjc49FwngOXnTTebQkrTcEeXGprmgUDMG1+2oH77pHTLH60vLJ9urA9b83TNU8qFhhgIvkJhhVaQHM1XnxvDvFtYII0wVz2QSjHg=="%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="grant_type"%20type="hidden"%20id="grant_type"%20value="authorization_code"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="client_id"%20type="hidden"%20id="client_id"%20value="AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="client_secret"%20type="hidden"%20id="client_secret"%20value="k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="code"%20type="hidden"%20id="code"%20value="123"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="redirect_uri"%20type="hidden"%20id="redirect_uri"%20value="https://xiaodu.baidu.com/saiya/auth/5a103da54ab06584025abb15cbed7352"%20/>%0D%0A%20%20%20%20</form>%0D%0A</body>%0D%0A</html>%0D%0A
展开

收到,感谢!

0
#5起航工作使回复于2018-12-07
#3 happy回复
请求技能access_token时技能返回的数据格式有问题 fetchAccessTokenRequest:{"url":"https:\/\/www.acematic.com.cn\/token?client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&grant_type=authorization_code&client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&redirect_uri=https%253A%252F%252Fxiaodu.baidu.com%252Fsaiya%252Fauth%252F5a103da54ab06584025abb15cbed7352&code=123","timeout":4000,"method":"post","data":"client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&grant_type=authorization_code&client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&redirect_uri=https%253A%252F%252Fxiaodu.baidu.com%252Fsaiya%252Fauth%252F5a103da54ab06584025abb15cbed7352&code=123"} fetchAccessTokenResponse:%0D%0A%0D%0A<!DOCTYPE%20html>%0D%0A%0D%0A<html%20xmlns="http://www.w3.org/1999/xhtml">%0D%0A<head><meta%20http-equiv="Content-Type"%20content="text/html;%20charset=utf-8"%20/><title>%0D%0A%0D%0A</title></head>%0D%0A<body>%0D%0A%20%20%20%20<form%20method="post"%20action="token.aspx?client_id=AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN&amp;grant_type=authorization_code&amp;client_secret=k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB&amp;redirect_uri=https%253a%252f%252fxiaodu.baidu.com%252fsaiya%252fauth%252f5a103da54ab06584025abb15cbed7352&amp;code=123"%20id="form1">%0D%0A<input%20type="hidden"%20name="__VIEWSTATE"%20id="__VIEWSTATE"%20value="/wEPDwUKLTU0MDE3NjkzMWRkvA+2f24ycMZEg6iPHq6N5KEP9gaDsVi2K3Jj7kM+hIg="%20/>%0D%0A%0D%0A<input%20type="hidden"%20name="__VIEWSTATEGENERATOR"%20id="__VIEWSTATEGENERATOR"%20value="97971A5D"%20/>%0D%0A<input%20type="hidden"%20name="__EVENTVALIDATION"%20id="__EVENTVALIDATION"%20value="/wEdAAYsx5IhXYnbLjE+T8gVNe18OuE23lnxLIQl/+x7BPyyd17FMUmmeBAsRDDma8MSHr7nQDg3S8mjc49FwngOXnTTebQkrTcEeXGprmgUDMG1+2oH77pHTLH60vLJ9urA9b83TNU8qFhhgIvkJhhVaQHM1XnxvDvFtYII0wVz2QSjHg=="%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="grant_type"%20type="hidden"%20id="grant_type"%20value="authorization_code"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="client_id"%20type="hidden"%20id="client_id"%20value="AN1AZT05lsRXlYBfeS35qtZpwwdyGlXN"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="client_secret"%20type="hidden"%20id="client_secret"%20value="k198wCn3MAeVfyxo4zrIn3FbRQ7i1OQB"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="code"%20type="hidden"%20id="code"%20value="123"%20/>%0D%0A%20%20%20%20%20%20%20%20<input%20name="redirect_uri"%20type="hidden"%20id="redirect_uri"%20value="https://xiaodu.baidu.com/saiya/auth/5a103da54ab06584025abb15cbed7352"%20/>%0D%0A%20%20%20%20</form>%0D%0A</body>%0D%0A</html>%0D%0A
展开

请问,有没有办法自己查看logid对应的详细内容?

0
#6CXY___King回复于2018-12-08

请问,

0
#7CXY___King回复于2018-12-08

请问,有没有办法自己查看logid对应的详细内容?

0
TOP