Re: [I] [Question] 默认部署后,阿里云短信发送失败 [hertzbeat]</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=notifications@hertzbeat.apache.org&q=from:%22via+GitHub%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">via GitHub</span></span></a></span> <span class="date"><a href="/search?l=notifications@hertzbeat.apache.org&q=date:20260817" rel="nofollow">Mon, 17 Aug 2026 10:30:20 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> orangeCatDeveloper commented on issue #4319: URL: <a rel="nofollow" href="https://github.com/apache/hertzbeat/issues/4319#issuecomment-5318195417">https://github.com/apache/hertzbeat/issues/4319#issuecomment-5318195417</a></pre><pre> Looked into the three points here: **2 & 3 are bugs — fix submitted in #4331.** The test-send alert carries no `instance` value, so HertzBeat sends `{"instance":null,...}` as the template param and Aliyun rejects every test send with exactly the error you quoted (模板变量JSON格式错误 或 JSON变量属性与模板占位符不一致) — your guess that some attribute had no value was right. The docs were also wrong: the template example used backticks, while Aliyun placeholders are `${...}` — the template must declare exactly `${instance}` `${priority}` `${content}`, no more, no less. Both are fixed in the PR. **1 (per-rule SMS template) is a feature request** — today one global `template-code` serves all rules. Worth its own issue so it does not get lost when this one closes; feel free to open one (or I can). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg17272.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#17368">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#17368">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg17431.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg17272.html">[I] [Question] <title>默认部署后,阿里云短信发送失败 [hertzbeat]</a></span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [I] [Question] <title>默认部署后,阿里云短信发送失败 [hertzbeat...</span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg17431.html">Re: [I] [Question] <title>默认部署后,阿里云短信发送失败 [hertzbeat...</a></span> <span class="sender italic">via GitHub</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: [I] [Question] <title>默认部署后,阿里云短信发送失败 [hertzbeat]"> <input type="hidden" name="msgid" value="I_kwDOGyeqAs8AAAABMwQHMA-68a4fc7b-bf25-4b29-8231-d931a9ab26b8@gitbox.apache.org"> <input type="hidden" name="relpath" value="notifications@hertzbeat.apache.org/msg17368.html"> <input type="submit" value=" via GitHub "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="notifications@hertzbeat.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search notifications"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/notifications@hertzbeat.apache.org/">notifications - all messages</a></li> <li class="icons-about"><a href="/notifications@hertzbeat.apache.org/info.html">notifications - about the list</a></li> <li class="icons-expand"><a href="/search?l=notifications@hertzbeat.apache.org&q=subject:%22Re%5C%3A+%5C%5BI%5C%5D+%5C%5BQuestion%5C%5D+%3Ctitle%3E%E9%BB%98%E8%AE%A4%E9%83%A8%E7%BD%B2%E5%90%8E%EF%BC%8C%E9%98%BF%E9%87%8C%E4%BA%91%E7%9F%AD%E4%BF%A1%E5%8F%91%E9%80%81%E5%A4%B1%E8%B4%A5+%5C%5Bhertzbeat%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg17272.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg17431.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">I_kwDOGyeqAs8AAAABMwQHMA-68a4fc7b-bf25-4b29-8231-d931a9ab26b8@gitbox.apache.org</li> </ul> </div> </body> </html>