跳转到主要内容

我的交易视图警报为什么会收到“406 Not Acceptable”错误?

这个错误表示 TradingView 发送了无效的告警正文给 Cryptohopper。

作者:Bryan
更新于今天

出现“406 Not Acceptable”错误意味着 Cryptohopper 收到了 TradingView 的一个 webhook,但消息体无效。TradingView 成功发送了该提醒,但其内容未被识别为有效的 Cryptohopper 指令。

原因

最常见的原因是在 TradingView 的提醒内容中填错了字段——将其填入了 Alert name(提醒名称)字段,而不是 Message(消息)字段。

如何修复

  1. 前往 TradingView,打开要编辑的提醒,或者创建一个新的提醒。

  2. 在 Cryptohopper 中,为你自己的机器人生成正确的提醒消息。

  3. 在 TradingView 的提醒对话框中,找到 Message(消息)字段(而不是 Alert name(提醒名称))。

  4. 将生成的消息粘贴到 Message(消息)字段中。

  5. 点击 Save(保存)来更新提醒。

Screenshot showing the Webhook delivery failed — 406 Not Acceptable error notification in TradingView

验证修复效果

保存后,从 TradingView 触发该提醒。如果设置正确,你将不再在 Cryptohopper 的通知中看到“406 Not Acceptable”错误。

这是否解答了您的问题?