{"errcode":-1,"errmsg":"system error hints: [ihha?
发布于 5 年前 作者 zcui 12811 次浏览 来自 问答

调用身份证OCR识别接口,总是返回{“errcode”:-1,“errmsg”:“system error hints: [ihhaCQwhE-ZR!]”}

复现时间:2020-01-15 15:24

请求地址:https://api.weixin.qq.com/cv/ocr/idcard?img_url=https://xxxx.com/salesmanxx/20200115/d1b5d4e9cb67f72de5c3e5c22ff46521.png&access_token=ACCESS_TOCKEN

小程序信息:wxd6fc510892d6bac2
1 回复

你好,img_url 需要 encodeurl , 否则参数判断会出错的。

参考文档:

https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.idcard.html

回到顶部