首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >发送创建的模板时出现whatsapp api错误

发送创建的模板时出现whatsapp api错误
EN

Stack Overflow用户
提问于 2022-09-12 15:19:16
回答 2查看 707关注 0票数 0
代码语言:javascript
运行
复制
{ "messaging_product": "whatsapp",
 "to": "91********5", 
 "type": "template", 
 "template": {
      "name": "demo_template",
      "language": {
           "code": "en_US" 
           }
            }
             }

这将作为post方法传递。

demo_template是我创建的现有模板。

出现这样的错误:

代码语言:javascript
运行
复制
{
    "error": {
        "message": "(#132012) Parameter format does not match format in the created template",
        "type": "OAuthException",
        "code": 132012,
        "error_data": {
            "messaging_product": "whatsapp",
            "details": "header: Format mismatch, expected IMAGE, received UNKNOWN"
        },
        "error_subcode": 2494073,
        "fbtrace_id": "ARtWScjGa0rADjfHvbOH4bS"
    }
}
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73691530

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档