Skip to content

Webhook HTTP codes

View as Markdown

The webhook answers every alert with an HTTP status. TradingView shows it in the Webhook status column of the alert log. Errors come as JSON: {"detail": "..."}.

The checks run in this order: the body, then the license and the rate limit, then the command. A message with a wrong license and a wrong command therefore gets the license error first.

Status Message you may see Meaning Fix
200 "status": "received" with a queued count and an external_id The command passed every check and is queued for your EA. It has not run yet. Check the later stages: find where an alert stopped.
400 Body must be a JSON object (check the alert message). The message is not valid JSON, or it is JSON but not one object (for example a list or plain text). Fix the message: check your message is valid JSON.
401 unauthorized The license field is missing or is not text. Add "license": "YOUR_LICENSE_KEY" with your key in quotes. The field is called license.
401 License not found The key does not exist. Copy the key again from Licenses in the dashboard. Check for spaces or a missing character.
403 Account deleted The account has been deleted. Contact support.
403 Subscription inactive The subscription is not active. Check the plan in the dashboard.
403 Trial expired — please subscribe to continue The 14-day trial has ended. Subscribe in the dashboard.
403 License expired This key has expired. Renew it or use another license.
422 Invalid command: … The license is fine, but the command is not: unknown action, unknown or missing field, wrong type or out-of-range value. The text names each problem. Nothing was queued. Read the message and compare with the command’s page in the cheat sheet.
429 Rate limit exceeded: 120 requests per 60s. Retry in … s. More than 120 messages in a minute for this license. Slow the alert down, and wait for the time given in the message.
500 Internal server error. Please try again later. A problem on our side. Try again. If it persists, send the evidence.
  • License checks are cached for 12 seconds, so a freshly renewed or changed license can take that long to take effect.
  • TradingView cancels a webhook request that takes longer than 3 seconds.
  • The external_id in a 200 reply identifies the command (your license, CMD, a 5-digit number). Quote it when you contact support.
  • A 200 is only about the message. A failure at your broker, such as error 10016, is reported later in Command History.

Verified for EA v1.9 · dashboard 2026-10-05 · reviewed by Claude Code (owner review pending)

Report a problem with this page

Trading involves substantial risk of loss. ZB Connector is software only; it does not provide investment advice, signals or brokerage services.