用户管理 /用户标签管理/创建标签,提示以下错误代码,请问是哪里配置有问题?
{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 6229b85a-1f17697d-5d55b322"}
1.取样器结果:
Thread Name:创建标签接口 1-1
Sample Start:2022-03-10 16:35:38 CST
Load time:149
Connect Time:108
Latency:149
Size in bytes:296
Sent bytes:432
Headers size in bytes:178
Body size in bytes:118
Sample Count:1
Error Count:0
Data type ("text"|"bin"|""):text
Response code:200
Response message:OK
HTTPSampleResult fields:
ContentType: application/json; encoding=utf-8
DataEncoding: null
2.请求request body:
"POST https://api.weixin.qq.com/cgi-bin/tags/create?access_token=$(ACCESS_TOKEN)
POST data:
{"tag":{"name":"陕西5"}}
[no cookies]
request header:
Connection: keep-alive
Content-Type: application/json;charset=UTF-8
ACCESS_TOKEN: 54_gIWIwUgeQsj580YD99wTJ2GWU9jsGrw-nqrg7i1nZct24q2PLGSo9Wl0exWIO0u_2TmUJNFuyJ-Rq1FImFm6GvsHSIsJ9xYpaRYvmAJpZrlLK4ky19B34M-wPHAy5dM-U-scbC3ATdqkcE2LOLBcABAWTJ
Content-Length: 22
Host: api.weixin.qq.com
User-Agent: Apache-HttpClient/4.5.12 (Java/1.8.0_152)
3.响应response body:
{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 6229b85a-1f17697d-5d55b322"}
response header:
HTTP/1.1 200 OK
Connection: keep-alive
Date: Thu, 10 Mar 2022 08:35:38 GMT
Content-Type: application/json; encoding=utf-8
RetKey: 11
LogicRet: 40001
Content-Length: 118

感谢答复。我是在创建标签接口的时候报错的,是个人进行开发的,AppID(小程序ID):wx9a080014c1abaf0e。请问创建用户标签时是否需要先建立本地服务器或者数据库呢?
你好,建议你检查