收藏
回答

Unauthorized error in send message API(48001)?

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?

回答关注问题邀请回答
收藏

2 个回答

  • 社区技术运营专员--许涛
    社区技术运营专员--许涛
    07-01

    你好,日志查看调用者账号认证过期

    07-01
    有用
    回复
  • 智能回答 智能回答 本次回答由AI生成
    06-27
    有用 1
登录 后发表内容