Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信意图识别接口返回invalid param #804

Closed
echogqq opened this issue Jul 18, 2017 · 1 comment
Closed

微信意图识别接口返回invalid param #804

echogqq opened this issue Jul 18, 2017 · 1 comment

Comments

@echogqq
Copy link

echogqq commented Jul 18, 2017

采用python访问微信意图识别接口

def getTest():
global access_token
if len(access_token) == 0:
access_token = getAccessToken()
TEST_URL = 'https://api.weixin.qq.com/customservice/msgrecord/getmsglist?access_token=' + access_token;
print(TEST_URL)
post = {
"query": "ff",
"city": "ff",
"category": "flight,hotel",
"appid": "wx***********",
"uid": "oki*****************"
}
response = requests.post(TEST_URL, json = post)
print(response.text)

返回
{"errcode":65416,"errmsg":"param invalid, please check hint: [Vd3cpa0529e563]"}
不明白参数有什么不对,也不知道这个hint去哪里查看

@mingyoung
Copy link
Collaborator

检查你的 URL 和参数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants