Skip to Content
Hookboard

Errors and limits

The one shape every error has, what each status means, and the limits that apply.

Errors

When something goes wrong, you always get JSON in the same shape:

{
  "error": "The ui does not match the catalog",
  "details": ["ui.children[0]: unknown component type \"blink\""]
}
FieldTypeWhat it is
errorstringWhat went wrong, in one sentence. Always present.
detailslist of stringsOne line per problem, each starting with where it is. Present for 400 and 422.

Statuses

StatusMeaningWhat to do
400The request body or query has the wrong shape, or isn't valid JSON.Fix the fields named in details.
401The API key is missing, wrong or revoked.Send Authorization: Bearer <key> with a current key.
403The workspace has reached a limit of its plan, such as board cards or the files its cards hold, or needs Pro. The error says which.Remove something, or move to a larger plan, then send again.
404No card with that id belongs to this app, or the feed or board you named doesn't exist.Check the id, or list them with GET /feeds and GET /boards.
413The ui, or the files sent with a card, are too large.Send less.
422The ui doesn't match the catalog.Fix each line in details and send again. Nothing was stored.
429This workspace's keys have made too many requests in the last minute.Wait the number of seconds in the Retry-After header, then send again.
500Something broke on Hookboard's side. Not your fault.Try again later.

A details line reads as a path into your card, then the problem:

ui.children[2].onPress: "webhook" needs "url"
ui.children[0].tone: must be one of default, muted, primary, success, warning, danger
ui.children[1]: "text" has no property "colour"
ui.children[3].visibleWhen: Unexpected token at position 8

Limits

Plan limits apply to the whole workspace. Everyone gets one free workspace, and any others they own are on Pro. Addresses that reach the same inbox, such as [email protected] or, on Gmail, [email protected], count as the same person.

WhatFreePro
People1Unlimited
Boards1Unlimited
Feeds1Unlimited
Board cards10Unlimited
Feed cards keptThe 100 newest per feedThe 10,000 newest per feed
Files held by cards25 MB10 GB
API requests, across all of a workspace's keys30 per minute3000 per minute

Free is a one-person workspace for trying Hookboard. It has every feature, just in smaller amounts. No plan limits the number of API keys. Pro's "unlimited" comes with fair use: there are safety limits to stop a runaway script, set far above what any real team uses.

When a subscription ends, nothing gets deleted, but you can't add anything past the free limits. A workspace that isn't the account's free one can't add board cards or files until it's back on Pro, and the error says so.

These are the same on every plan:

WhatLimit
Size of a card's ui as JSON256 KB
Elements in one ui1500
Nesting depth of a ui24 levels
Card id200 characters
Card title200 characters
Files sent in one request10 MB together
Dismissed feed cardsDeleted after 30 days
Events returned per poll100
Longest poll (wait)50 seconds
Webhook time to answer10 seconds
Webhook reply size256 KB
Webhook calls per account60 per minute

Safety rules

  • A card can only contain catalog elements. HTML, styles, scripts and iframes are never drawn.
  • Expressions run in Hookboard's own interpreter and can't reach the page, the network or the server.
  • Hookboard's server makes webhook calls to the URL stored in the card. A device can't make Hookboard call a different address.
  • Hookboard stores only a hash of each API key, so a lost key can't be shown again. Replace it under Settings > API keys.

On this page