发送统一服务消息返回40037?

小程序 文章 2022-04-14 18:00 0 全屏看文

发送统一服务消息返回40037?Sending a unified service message returns 40037?

发送统一服务消息返回40037?

你好,我发送统一服务消息:

{"mp_template_msg":{"appid":"wx4f184e4157535713","data":{"thing2":{"color":"#173177","value":"医生完成接诊"},"thing4":{"color":"#173177","value":"张三,预约日期:2022-04-02,预约号:42104"}},"miniprogram":{"appid":"wx216f717c362a22e9","pagepath":""},"template_id":"OcEik3TjsHtvUl45VK0JjKXpyypFfrUrB5Hsk7gg48E","url":"XXX"},"touser":"XXXXXX"}

返回:

{"errcode":"40037","errmsg":"invalid template_id rid: 6257e0e8-2d7beff1-16cce19a"}

可以帮忙看看吗


你好,我发送统一服务消息: {"mp_template_msg":{"appid":"wx4f184e4157535713","data":{"thing2":{"color":"#173177","value":"医生完成接诊"},"thing4":{"color":"#173177","value":"张三,预约日期:2022-04-02,预约号:42104"}},"miniprogram":{"appid":"wx216f717c362a22e9","pagepath":""},"template_id":"OcEik3TjsHtvUl45VK0JjKXpyypFfrUrB5Hsk7gg48E","url":"XXX"},"touser":"XXXXXX"} 返回: {"errcode":"40037","errmsg":"invalid template_id rid: 6257e0e8-2d7beff1-16cce19a"} 可以帮忙看看吗

回答:

广涵:

是正确的

正确的

老张:

invalid template_id

brave:

template_id 错误,自己排查下?

-EOF-