跳转到主要内容

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

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

作者:Bryan
一周前更新

这个错误意味着 Cryptohopper 收到了 TradingView 的一个 webhook,但消息体是无效的。TradingView 成功发送了提醒,但其内容无法被识别为有效的 Cryptohopper 指令。

原因

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

解决方法

  1. 进入 TradingView 并打开你想编辑的提醒,或者创建一个新的提醒。

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

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

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

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

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

验证修复

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

这是否解答了您的问题?