photon006
V2EX  ›  微信

调用微信 /chat/send 接口失败: receiver or chat missing

  •  
  •   photon006 · Nov 13, 2015 · 2916 views
    This topic created in 3865 days ago, the information mentioned may be changed or developed.

    我在对接企业内部 IM 与微信企业号时遇到这个错: receiver or chat missing 。不知道啥意思

    文档在: http://qydev.weixin.qq.com/wiki/index.php?title=%E4%BC%81%E4%B8%9A%E4%BC%9A%E8%AF%9D%E6%8E%A5%E5%8F%A3%E8%AF%B4%E6%98%8E

    其中的发送消息接口: https://qyapi.weixin.qq.com/cgi-bin/chat/send?access_token=ACCESS_TOKEN

    发生这种情况不固定,相同的账号有时发生有时不会。

    有人遇到过没?如何解决的, thanks 。

    1 replies    2015-11-24 16:42:39 +08:00
    photon006
        1
    photon006  
    OP
       Nov 24, 2015
    问题修复了,是自己封装 http 库原因,换成 node request 就不会失败,每次都成功。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   990 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 22:48 · PVG 06:48 · LAX 15:48 · JFK 18:48
    ♥ Do have faith in what you're doing.