## Common errors | Code | Status | Message | Fix | |---|---|---|---| | `VALIDATION` | 400 | definition is required | Wrap the hook in `{"definition": ...}` | | `HOOK_FILTER_INVALID` | 400 | /id: must match ^[a-z0-9][a-z0-9._-]{0,63}$ | Lower-case id | | `HOOK_FILTER_INVALID` | 400 | /id: a hook with this id already exists | Choose another id, or use PUT | | `HOOK_EVENT_UNKNOWN` | 400 | /event/name: unknown event '...' | Use a catalog name | | `HOOK_FILTER_INVALID` | 400 | /filter: at most 8 clauses (OR = two hooks) | Split into two hooks | | `HOOK_FILTER_INVALID` | 400 | /filter/0/path: path must start with payload., resource. or be actor.role | | | `HOOK_FILTER_INVALID` | 400 | /filter/0/value: in needs an array value / value is required | | | `HOOK_LIMIT_EXCEEDED` | 422 | At most 100 hooks per workspace. | Retire unused hooks | | `HOOK_HANDLER_NOT_FOUND` | 422 | Workflow '...' does not exist. / Agent '...' does not exist. | Create it first | | `HOOK_HANDLER_FORBIDDEN` | 422 | Workflow '...' belongs to another workspace. | Use a handler in the hook's workspace | | `HOOK_HANDLER_INACTIVE` | 422 | the workflow is not published with an Event trigger | Publish it with the AANCER Event trigger, then enable | | `HOOK_INVALID` | 400 | /dataClassification: sovereign, internal or permitted | Use one of the three values | | warning `HANDLER_INACTIVE` | | the workflow is not published with an Event trigger; deliveries will fail until it is. | Publish it with the AANCER Event trigger, then enable | | `HOOK_MANAGED_BY_PACK` | 409 | This hook is managed by pack '...'; edit the pack. | Ship a new pack version | | `DELIVERY_NOT_RETRYABLE` | | A '...' delivery cannot be retried. | Only failed or dead-lettered deliveries | | `HOOK_DISABLED` | 409 | A disabled hook cannot replay; enable it first. | | | `HOOK_REPLAY_WINDOW_INVALID` | 400 | The replay window is limited to 30 days. | Choose `from` and `to` within 30 days | | `HOOK_REPLAY_TOO_LARGE` | 400 | More than 1000 events match; narrow the window. | Narrow the window | | delivery `lastError` | | HANDLER_INACTIVE: Workflow '...' listens to '...', not '...'. | Make the trigger event and the hook event match | | `PACK_SCHEMA_INVALID` | 422 | /items/.../spec: must NOT have additional properties | For example `dataClassification` in a pack spec. Remove it | ## Limits and editions - 100 hooks per workspace, 8 filter clauses per hook, 20 concurrent deliveries per hook. - Replay reaches events the installation still keeps, up to 30 days per replay. - Hooks are controlled by permissions: `hooks.view_own`, `hooks.manage_own`. Firing a workflow also needs the workflow to be allowed to run. - Check your edition on [aancer.ai/pricing](https://aancer.ai/pricing). --- Source: https://aancer.ai/developers-apps --- title: Embedded apps | AANCER Developers description: Add your own web application inside AANCER: the app manifest, single sign-on by one-time code, the bridge protocol, sandbox, navigation and approval. --- ## Embedded apps An embedded app is a web application that you host yourself, on its own https origin, and that AANCER shows inside its own interface. Customers and partners use it to bring their own tools into AANCER: a shift planner, an order board, a quality checklist, an internal form. The app appears as an entry in the **Dashboards** navigation (and, if you like, as a card on Home), so people reach it next to their dashboards, agents and workflows. AANCER shows the app in a sandboxed `