簡體   English   中英

SendGrid 模板不包含必需的占位符

[英]SendGrid Template does not contain required placeholders

我正在嘗試通過發送網格使用 Email 驗證服務,在我寫入所有占位符后,我收到此錯誤:“SendGrid 模板不包含所需的占位符”,我找不到任何解決方案。

有人可以指導我嗎? 謝謝!

您需要為 API 密鑰啟用“模板引擎”讀取訪問權限。 您可以在此處執行此操作: https : //app.sendgrid.com/settings/api_keys 確保它是只讀訪問(即滑塊在中間)。

我有同樣的問題。 我使用{{{ code }}}加載動態數據。 就我而言,它的 OTP。 所以我用{{{twilio_code}}}替換了{{{ code }}} ,問題就解決了。

截至今天,以下適用: https://support.twilio.com/hc/en-us/articles/6554095919003-Error-SendGrid-Template-does-not-contain-required-placeholders-

Cause

This error message usually due to the SendGrid Dynamic template missing
at least one of the following placeholders:

- {{twilio_code}}
- {{twilio_message}}
- {{twilio_message_without_code}}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM