appId:gh_8af0474aba29
请求url包含access_token:
https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=28_rDw8tZGaa09L886OEeo9bdEiClDFJDjjv8AIkP4m4_2QCTm72bIy9hzKCoSrLJXpkuV-jhZ1AnlzybZ9XAtCgCLdZ9_FadKfBO4eWZf-swQk6-ATYWcyWtlsS4Ue-hAWvopWZXJZq_zxF7hOYKRjAIASEL
收到的客服消息如下:
{
"ToUserName": "gh_8af0474aba29",
"FromUserName": "o3f0l0TDjv9UHYE_S76cqfakiWaM",
"CreateTime": 1577252315,
"MsgType": "text",
"Content": "你好",
"MsgId": 22580822969327736
}
我返回的transfer_customer_service 消息:
{
"CreateTime": 1577252315,
"FromUserName": "gh_8af0474aba29",
"MsgType": "transfer_customer_service",
"ToUserName": "o3f0l0TDjv9UHYE_S76cqfakiWaM"
}
报错信息:
{"errcode":40003,"errmsg":"invalid openid hint: [cVrmla03163934]"}
另外,我能给用户发送消息,是成功的,使用的是同一套openId和ACCESS_TOKEN,就是不能使用transfer_customer_service,各种方法都尝试尽头了,这是什么问题呢?非常感谢
求微信官方客服排查下问题
谢邀,看你的问题截图,好像返回给微信的是json格式的数据吧,我看文档说要xml格式的数据呢,你看一下
40003,不合法的openid,你格式不对;
https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/customer-message/customerServiceMessage.send.html
我的问题是使用transfer_customer_service报错,不是你说的这个格式,请看这个文档:
https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/customer-message/trans.html