While sending a message using the following cURL command (API request):
curl --location 'https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"touser": "TOUSER_ID",
"msgtype": "text",
"text": {
"content": "test"
}
}'
we are receiving the following error message:
{
"errcode": 48001,
"errmsg": "api unauthorized rid: 685cc0c9-225f9599-0a375f16"
}
The "Original ID" for the WeChat account is "gh_70f21bbff959"
We were able to fetch the token using App id and app secret and the token is valid.
Previously, we were able to send messages using the same API request from the same account.
Could you please let us know the reason for this issue and how to resolve it?
你好,日志查看调用者账号认证过期