# Limits and errors

> The monthly allowance, rate limits, how long photos and videos take, and what errors look like.

## Monthly allowance

Each photo or video made from an AI app uses one from the workspace's monthly allowance, exactly as it does in Trigglo. Redos count too. Failed photos and videos don't, except on the free trial, where every finished try counts, even one that doesn't pass our quality check. `get_account` returns what is left (`photosLeftThisMonth`, `videosLeftThisMonth`) and when the allowance resets.

## Rate limits

Limits apply per workspace, across every AI app connected to it.

| What | Limit |
| --- | --- |
| Any tool call | 60 a minute |
| `create_photos`, `create_video` and `redo_photo` | 10 every 10 minutes |
| `schedule_post`, `publish_now` and `unschedule_post` | 20 an hour |
| `add_product` and photo uploads | 30 an hour |

One `create_photos` call makes up to 4 photos. Photo and video creation also counts toward the workspace's Trigglo limit of 20 a minute.

## How long things take

- **Photos:** about a minute each. They are made in parallel.
- **Videos:** two to four minutes.
- Creating tools return right away with post ids. Poll `get_post` until `status` is `ready` or `failed`. Apps that show the photos card update it by themselves.

## Errors

A refused call is a normal tool result with `isError: true` and one plain sentence the app can show the person as is. For example:

- "This month's photos are used up. They reset on 2026-12-01."
- "Too many Trigglo requests in a short time. Wait a minute and try again."
- "No photo post with that id in this Trigglo workspace."

Arguments that don't match the input schema get "Invalid input for ..." naming the field.

Unexpected problems return "Trigglo hit an unexpected problem with that request. Please try again in a moment." and are logged on Trigglo's side.

At the HTTP level:

| Status | Meaning |
| --- | --- |
| `401` | No token, an expired token, or the app was disconnected. The `WWW-Authenticate` header starts sign-in again. |
| `503` | Trigglo has paused access for AI apps. Try again later. |
