个人案例
- 扫码登记管家
单位场所通行信息扫码登记工具
扫码登记管家扫码体验
今天突然找到了原因,因为无论如何调用接口返回的链接都是一样的,所以开始怀疑是权限问题,果然是小程序类目问题,因为迁移了主体没有选择电商类目https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/short-link/generateShortLink.html接口英文名 generateShortLink 功能描述获取小程序 Short Link,适用于微信内拉起小程序的业务场景。目前只开放给电商类目(具体包含以下一级类目:电商平台、商家自营、跨境电商)。通过该接口,可以选择生成到期失效和永久有效的小程序短链,详见获取 Short Link。
urlScheme跳转功能突然故障了【对不起,当前页面无法访问】,是什么原因?连接突然不能访问了,代码内有做任何修,也没有重新发布小程,链接地址 weixin://dl/business/?t=h4gkwuSPbkp [图片]
2023-09-20python和nodejs代码参考 https://github.com/choogoo/WXBizMsgCrypt
接口调用一直提示1019?进行接口调试时,只要使用参数进行请求,就是报 { "errcode": 1019, "errmsg": "data encrypt is incorrect, please check the doc." } 请求链接: https://openai.weixin.qq.com/openapi/setautoreply/wTqwIIcdBjl6I2A3cB0LBtex1WQPQf 请求参数: encrypt: <xml><Encrypt><![CDATA[HEBB1GZg0RsUe7eFcuO4qOc/4zhtNtV/0n0Afa9Qs5PxYysz6UMXJKwvGbmH1wQOQBC/rCnKxMv9upAabODg6NzGLwMT3Mx29eDmOkAY7VlSt8ttrbBYpfJBg0nH4MQAjR46T81wCyu8o2de6XHUkS294UgCM1dpWuEcVnlURj5IGWdvpSjXnHEmGb6cA3Vq1AVihGIB0Rixk6kbHjUVQ2ydjoGu1LEf6Bcx4kB20QwIget4yIGJUvF5eBNab8BlUmWXYkVB+EnBIW2+rU8SVj7G1ZS5v3rYMzBdK3IOiEYndkaXahLTQtuPYSfRUnJGB/yGkYsFO6jonKaoMseyfyL69SSunxvcgHgGRObfKmwqOQMJPRn/eH4VTF2+q2NUpKwzf3JI2Xc0RIQ0XDvi/7FHYrffUjLqj++OJBWn7RB1DDroAKpms51NfjH8zySPmToZgrj9sutD67XFdZEDFN3t/jFBuiAvminMPncLhpy+gY4Mfj8WI8JarYGmDHDh]]></Encrypt><MsgSignature><![CDATA[d9a3d88d41b47545ea96b985487c3c4e91b1e2d1]]></MsgSignature><TimeStamp>1627458578</TimeStamp><Nonce><![CDATA[ko3bCuNmVv]]></Nonce></xml>
2022-05-07正解:注意官方文档中的encrypt,不是将整个加密后的xml赋值给encrypt,而是将encrypt字段作为encrypt的值 例如得到的加密xml为: <xml> <Encrypt> <![CDATA[OyxEyYR5Q7jeLkV6tBmuNPpYyCvIMt55LXFrw3qxlk1NDndi3J1/34TMtWKrSyRgeKfh+sbjXXwKXcVUOC5r9......N3st3MW6O]]> </Encrypt> <MsgSignature> <![CDATA[69949b3a868b2ec07f04059abc3084126132952f]]> </MsgSignature> <TimeStamp>1651851331</TimeStamp> <Nonce> <![CDATA[1320562132]]> </Nonce> </xml> 则只需要将一下内容赋值给encrypt OyxEyYR5Q7jeLkV6tBmuNPpYyCvIMt55LXFrw3qxlk1NDndi3J1/34TMtWKrSyRgeKfh+sbjXXwKXcVUOC5r9......N3st3MW6O
智能对话设置批量导入(普通)技能-开放接口按文档加密调用一直报1013?调用设置批量导入(普通)技能-开放接口https://developers.weixin.qq.com/doc/aispeech/confapi/bot/batchimportskill.html 报错: {"errcode":1013,"errmsg":"decrypt error, please use the correct way to encrypt the params.","rid":"78e4cf09"}
2022-05-06正解:注意官方文档中的encrypt,不是将整个加密后的xml赋值给encrypt,而是将encrypt字段作为encrypt的值 例如得到的加密xml为: 1651851331 则只需要将一下内容赋值给encrypt OyxEyYR5Q7jeLkV6tBmuNPpYyCvIMt55LXFrw3qxlk1NDndi3J1/34TMtWKrSyRgeKfh+sbjXXwKXcVUOC5r9......N3st3MW6O 官方文档成功误导了一大批开发者 var cryptor = new WXBizMsgCrypt(TOKEN, EncodingAESKey, APPID); var data = `<![CDATA[标准问题2]]><![CDATA[标准问题3]]> ` var encrypted = cryptor.encrypt(data); curl -X post -d '{"encrypt": encrypted}' "https://openai.weixin.qq.com/openapi/batchimportskill/{TOKEN}"
智能对话设置批量导入(普通)技能-开放接口按文档加密调用一直报1019,是需要如何才能调用呢?试着调用了https://openai.weixin.qq.com/openapi/batchimportskill/{TOKEN} 一直报{"errcode":1019,"errmsg":"data encrypt is incorrect, please check the doc.","rid":"76e93c48"} 加密是根据加密指引处理的
2022-05-06正解:注意官方文档中的encrypt,不是将整个加密后的xml赋值给encrypt,而是将encrypt字段作为encrypt的值 例如得到的加密xml为: <xml> <Encrypt> <![CDATA[OyxEyYR5Q7jeLkV6tBmuNPpYyCvIMt55LXFrw3qxlk1NDndi3J1/34TMtWKrSyRgeKfh+sbjXXwKXcVUOC5r9......N3st3MW6O]]> </Encrypt> <MsgSignature> <![CDATA[69949b3a868b2ec07f04059abc3084126132952f]]> </MsgSignature> <TimeStamp>1651851331</TimeStamp> <Nonce> <![CDATA[1320562132]]> </Nonce> </xml> 则只需要将一下内容赋值给encrypt OyxEyYR5Q7jeLkV6tBmuNPpYyCvIMt55LXFrw3qxlk1NDndi3J1/34TMtWKrSyRgeKfh+sbjXXwKXcVUOC5r9......N3st3MW6O 官方文档成功误导了一大批开发者 var cryptor = new WXBizMsgCrypt(TOKEN, EncodingAESKey, APPID); var data = `<xml> <managerid><![CDATA[平台管理员ID]]></managerid> <skill> <skillname><![CDATA[技能名称1]]></skillname> <title><![CDATA[标准问题2]]></title> <question><![CDATA[相似问题1]]></question> <question><![CDATA[相似问题2]]></question> <question><![CDATA[相似问题3]]></question> <answer><![CDATA[1]]></answer> <answer><![CDATA[2]]></answer> </skill> <skill> <skillname><![CDATA[技能名称1]]></skillname> <title><![CDATA[标准问题3]]></title> <question><![CDATA[相似问题1]]></question> <answer><![CDATA[1]]></answer> </skill> </xml>` var encrypted = cryptor.encrypt(data); curl -X post -d '{"encrypt": encrypted}' "https://openai.weixin.qq.com/openapi/batchimportskill/{TOKEN}"
设置批量导入(普通)技能,返回"errcode": 1019?请求设置批量导入的时候返回 "errcode": 1019, "errmsg": "data encrypt is incorrect, please check the doc.", "rid": "de85e15e" 这是我的参数 [图片] 这是我加密后的数据 [图片] 这为啥会出问题啦,能给个提示嘛
2022-05-06请问一下你请求 设置批量导入(普通)技能-开放接口 这个api成功了吗?调用方法能否分享一下,这个接口调用一直报1013错误呢
通过接口设置批量导入技能后,如何删除?我们通过调用设置批量导入(普通)技能-开放接口配置信息例如: APPID: xxxxxxxxxxxxxxxTOKEN: xxxxxxxxxxxxxxxEncodingAESKey: xxxxxxxxxxxxxxx批量设置用户标签接口:[代码]https://openai.weixin.qq.com/openapi/batchimportskill/{TOKEN}[代码] 创建了技能,现在想删除部分导入的技能,该调用什么接口进行删除呢?
2022-05-06解决了吗?也遇到这个问题了
智能对话,设置批量技能 给出1013是啥情况啦?加密用的是官方SDKdecrypt error, please use the correct way to encrypt the params.
2022-05-02调试工具没有这个问题,真机一直报-402011 realtime listener unexpected fatal error,急急急
Watcher一直报socket handshake失败的错误?之前Watcher一直都是正常使用的,今天开始一直报这个错误, 这个错误现每次都会出。 VM16 asdebug.js:1 WebSocket connection to 'wss://tcb-ws.tencentcloudapi.com/' failed: Error during WebSocket handshake: Unexpected response code: 502 createSocketTask @ VM16 asdebug.js:1 invoke @ VM16 asdebug.js:1 r @ VM16 asdebug.js:1 invoke @ VM1255 WAService.js:2 o @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 p @ VM1255 WAService.js:2 t @ VM1255 WAService.js:2 n @ VM1255 WAService.js:2 connectSocket @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 n @ VM1255 WAService.js:2 index.js? [sm]:399 the watch closed because of error Error: errCode: -402011 realtime listener unexpected fatal error | errMsg: [object Object] history states: UNINIT-(close)->CLOSED at new g (VM1255 WAService.js:2) at _i.closeWithError (VM1255 WAService.js:2) at _parentFSMListener (VM1255 WAService.js:2) at VM1255 WAService.js:2 at Set.forEach (<anonymous>) at Do.transition (VM1255 WAService.js:2) at Function.<anonymous> (VM1255 WAService.js:2) at C (VM1255 WAService.js:2) at VM1255 WAService.js:2 at VM1255 WAService.js:2 onError @ index.js? [sm]:399 (anonymous) @ VM1255 WAService.js:2 C @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 c @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 C @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 _i.closeWithError @ VM1255 WAService.js:2 _parentFSMListener @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 Do.transition @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 C @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 value @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 c @ VM16 asdebug.js:1 (anonymous) @ VM16 asdebug.js:1 i.emit @ VM16 asdebug.js:1 S.onclose @ VM16 asdebug.js:1 VM1255 WAService.js:2 Error: MiniProgramError {"errMsg":"closeSocket:fail task not found"} at Object.errorReport (VM1255 WAService.js:2) at Function.thirdErrorReport (VM1255 WAService.js:2) at Object.<anonymous> (VM1255 WAService.js:2) at I (VM1255 WAService.js:2) at Object.o [as cb] (VM1255 WAService.js:2) at VM1255 WAService.js:2 at Array.forEach (<anonymous>) at e.value (VM1255 WAService.js:2) at o (VM1255 WAService.js:2) at VM1255 WAService.js:2 errorReport @ VM1255 WAService.js:2 thirdErrorReport @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 I @ VM1255 WAService.js:2 o @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 value @ VM1255 WAService.js:2 o @ VM1255 WAService.js:2 (anonymous) @ VM1255 WAService.js:2 VM1255 WAService.js:2 TypeError: n is not a function at Oi.<anonymous> (VM1255 WAService.js:2) at VM1255 WAService.js:2 at Object.next (VM1255 WAService.js:2) at n (VM1255 WAService.js:2)
2021-04-14可参考以下帖子,有解决方案,不知道时bug还是什么问题https://developers.weixin.qq.com/community/develop/doc/000a0ed2dd05c0e851365a9cb56800?_at=1568995126375
获取opengid时encryptedData含有+会导致官方提供的解密程序报错无法解密?使用官方提供的node解密程序,当encryptedData中包含+符号时,导致解密失败
2020-03-30确实很崩溃呀,用win10就不存在这个问题,使用mac就会因为app.json的usingComponents里放置全局组件造成开发工具直接死循环,同时提交预览在真机上又可以正常,官方还没有解决方案吗?
小程序app.json中加入usingComponents问题- 当前 Bug 的表现(可附上截图) 当小程序中 app.json 中使用 usingComponents 字段后,就会导致小程序在真机中卡死(一直在加载中),开发者工具没有问题。项目上传会导致miniprogram_npm中代码无法上传完全 - 预期表现 我们小程序要更新版本啊官方大大,现在发了个体验版直接崩掉了好难受 - 复现路径 - 提供一个最简复现 Demo 你们可以用这个代码片段中的代码试一下,看是否能在手机中正常运行。 https://developers.weixin.qq.com/s/pCVPFXmg7e7J
2020-02-20