Docs›Developers and API

Errors and rate limits

See the request limits for brand8's MCP server and brand keys, what to do when you go over, the error codes you can get, and how long media links last.

5 min readUpdated 23 November 2026Public

brand8's server limits each key to 60 requests a minute and each IP address to 120 requests a minute before sign-in. A request over a limit is refused. Wait a minute, then retry.

Limits

LimitValue
Requests per key or personal connection60 a minute
Requests per IP address, before sign-in120 a minute
Request size32 KiB, one MCP message per request
Media linksExpire after 15 minutes. Ask for a fresh one
Prepared still-ad quoteExpires after 30 minutes

When you go over a limit

Space requests out and retry after a minute. If brand8 cannot check the limit at that moment, it also refuses the request rather than letting unmetered traffic through.

Tip

Do not retry a 400, 401 or 403 without changing the request.

Read an error

Address, method, origin and key checks return a JSON body with an error message and a stable code you can switch on.

{ "error": "API key lacks required scope: brand-context:read", "code": "INSUFFICIENT_SCOPE" }
StatusCodeMeaning and fix
401MISSING_API_KEYNo Authorization: Bearer header. Add it
401INVALID_API_KEYThe key is unknown or revoked, or its organization or brand is no longer active. Make a new key
401INVALID_TOKENA personal connection's token was not accepted. Sign in again
403INSUFFICIENT_SCOPEThe key lacks the scope: create a key with it. A personal connection is asked for more consent instead
403KEY_NOT_BRAND_SCOPEDThe key is not bound to a brand. Create a new key
403KEY_ISSUER_NOT_AUTHORIZEDThe key's creator is no longer a member of the brand's organization
403ACCESS_DENIEDA personal connection has no access. Check its consent
403ORIGIN_NOT_ALLOWEDA browser sent an origin that is not brand8's. Call from a server or CLI
404NOT_FOUNDThe connector is not available yet. A wrong path returns the site's normal 404 page
405METHOD_NOT_ALLOWEDOnly POST is served. The response includes Allow: POST
429Over a limit. Wait a minute, then retry
500INTERNAL_ERRORTry again later

A few responses carry only an error message and no code: a body over 32 KiB (413) and a batch of messages (400). Send one message per request.

A message that breaks the MCP protocol returns a JSON-RPC error with the generic text "MCP request rejected": 400 for malformed JSON, 406 if Accept does not list both application/json and text/event-stream, and 415 if Content-Type is not application/json.

When a key or token is rejected, the response includes an X-Motion-Request-Id header. Quote it when you contact brand8.

Read a tool error

A creative, image or personal-connection tool that fails returns a normal MCP result with isError set and one fixed code. The text is never copied from your input. A read tool for evidence, Cast or Assets returns isError with a generic message and no code: check the input and search again.

CodeMeaning
INVALID_INPUTA field is missing or wrong. Fix it and retry
FORBIDDENThis connection or its owner cannot do that for this brand
NOT_FOUNDUse a list tool to find a current handle. For a request, the answer names its id and kind; on a personal connection with the Brand media and Prepare creative permissions, get_brand_workspace lists the brand's ten most recent requests
REQUEST_CONFLICTThe request_key was already used for a different request. Use a new one
STALEThe template, product or price changed since the quote. Prepare a new request
EXPIREDThe quote expired. Prepare a new request
INSUFFICIENT_CREDITSNot enough credits. Add credits in brand8. Model and quality do not change
POLICY_LIMIT, DAILY_LIMITA saved spending limit blocked the request. Do not split it to get around the limit
PREPARATION_FAILEDThe image or ad could not be prepared, and nothing was charged. reason says why and the text gives the next step. When present, field names what is at fault (a setting, the brief, the references, the products or their photos, the model, the logo choice, or a still ad's template, colour or aspect ratio) and id the photo or reference. temporary is a brand8 problem: try the same request again, or, when it says so, once more and then stop
SUBMISSION_FAILEDThe ad could not start. Check its status before you try again
UNAVAILABLECreative requests are not available right now
MEDIA_UNAVAILABLEA media link could not be created. Ask again

Responses are never cached: they carry Cache-Control: private, no-store.

FAQ

Why do I get a 403 from a browser but not from curl?

A browser sends an Origin header, and brand8 accepts only its own. A server or CLI sends none and is allowed.

Why does GET return 405?

The server answers POST only. It has no event stream and no sessions.

Is the 60 a minute limit per person or per key?

Per key for a brand key, and per connection for a personal sign-in.

Checked against the app · 23 November 2026