Skip to content

Common questions from integrators and professional developers — calling the HTTP API, authenticating scripts and services, handling error codes, reacting to events, writing functions, and driving packages through the API. Questions are grouped by topic; select a question to expand its answer.

Is there an HTTP API, and how is it versioned?

Yes — the platform exposes a large HTTP API reached through a single gateway, with all paths under /api. Operations are versioned in the URL path (/v1/…, /v2/…, /v3/…); versions coexist rather than replacing each other, and newer versions usually add capability, so prefer the highest version a resource offers. Multi-tenancy is header-scoped, so the same operation returns different data per space. Successful JSON responses are wrapped in {success, result}, with one exception on 1.10: a GET under /v3/ returns the bare payload — see GET /api/v3/… is raw again.

How do I authenticate a script or integration without a user login?

Use an API token (also called an application token). The program sends it in the x-app-token header, and the gateway resolves it to the owning application user. The token value is shown only once on creation — copy it then, because it cannot be retrieved later. To revoke a token, archive it (subject to a short caching delay). Give each integration its own token so you can revoke one without affecting the others.

Do API tokens carry their own permissions?

No. An API token has no separate permission set or scopes — it inherits the access of the application user that owns it. To limit what an integration can do, create a dedicated application user with exactly the permissions that integration needs and issue the token under that user.

How are uploaded files stored?

Files (in file, image, and document fields, and in comment attachments) are uploaded to a storage service, which returns an id; the record stores that id, not the bytes. Permitted attachment types are configurable by an administrator per view (with a default size limit around 1 MB) rather than a fixed set. Uploads coming from end users are validated (extension allowlist, real-content magic-byte checks, and a PDF embedded-JavaScript scan).

How do I get an OpenAPI document for a single view?

Turn on Swagger document in that view’s display options; only then does GET /api/v1/views/{viewId}/openapi.json publish a small OpenAPI 3.0 document scoped to that view. Watch one deliberate inversion: that response is not wrapped in the {success, result} envelope — parse the body as a bare OpenAPI document — while the document it returns does describe the envelope, because every operation it documents answers inside one. Two other limits are worth knowing: fetching the entity-schema operation always needs a token, even on an anonymous view; and the entry value schema is built from the view’s own field selection and is not filtered by sensitivity, so a sensitive or encrypted field the view displays appears there by name, type and cardinality (never by value). See The per-view OpenAPI document. (Since 1.10)

Why does a GET /api/v3/… call return a bare body without {success, result}?

Because on the 1.10 line a GET whose path starts with /v3/ is sent as the raw payload again, for the external integrations that read /v3 bodies directly; /v3 writes, v1/v2 and unversioned JSON routes keep the {success, result} envelope, and errors stay enveloped. A 1.8 deployment still envelopes /v3 reads up to and including 1.8.21, so a client that talks to both lines should unwrap result only when the body carries success: true. See GET /api/v3/… is raw again. (Since 1.10)

What do 404 SPACE_ERROR and 400 SPACE_CONTEXT_MISSING mean?

404 SPACE_ERROR comes from the gateway when the request host matches no space — it was 400 before 1.10 — and any x-space-id the client sent is discarded first, so use a host registered for a space. 400 SPACE_CONTEXT_MISSING means a service was called directly without a usable x-space-id while space-scope enforcement is on; it does not happen through the gateway, and a direct caller must send exactly one non-blank x-space-id. See Tenancy- and space-related refusals. (Since 1.10)

Can a browser load a stored file in a plain <img> without a bearer token?

Yes: POST /api/storage/v2/files/links signs short-lived links for up to 100 file ids, and GET /api/storage/v2/files/:id/content?exp=…&sig=… streams the file with the signature as the only credential. Treat each link as a bearer capability — signing checks only that the file exists in the tenant, not that the caller may read it — so never log links or put them in shareable URLs. Delivered first to the 1.6 line and to 1.8 as an update. See Signed, cacheable content links. (Since 1.6)

How do I start sign-in directly with one specific external provider?

Add the authorization-request parameter idp_hint=<provider name> to /auth: when the login page would be shown, the identity service redirects straight to that active external provider if it is linked to the calling domain, and ignores unknown, inactive or unlinked names. The value is the provider’s unique name, not its display label, and the portal’s /signin?provider=<name> deep link feeds this parameter. Separately, a domain whose only way in is one external provider skips the login page for every client by default. See Starting sign-in with a named provider. (Since 1.10)

Is the functions provisioning webhook authenticated?

Not by default. The webhook (FunctionsWebhookController) checks an HMAC callback token that each provision and delete request now carries, but FUNCTION_WEBHOOK_AUTH defaults to observe: a callback that fails the check is logged as a warning and still applied, and only enforce refuses it. Until an environment is switched to enforce, treat the webhook as effectively unauthenticated and keep it unreachable from outside the cluster. See Per-tenant provisioning and callback authentication. (Since 1.10)

How do I give a function an API key or another secret?

On the development line, add a row to the function’s Secrets block, with a key (the environment-variable name: letters, digits and _, not starting with a digit) and a value, through an ordinary save of the function’s entry; there is no separate secrets API. The value is stored encrypted and masked when read back. The function reads it as an environment variable, for example process.env.MY_API_KEY, once a new revision starts: a change is synced without a rebuild and rolls a new revision, while a pod that is already running keeps the old value. See Function secrets and per-function identity. (Since dev)

Who does a function act as when it calls the platform API?

On the development line, as its own application user (issuer function:<functionId>), whose token the function receives as OSOS_API_TOKEN. That user starts with no groups, roles or admin access, so the function can do only what you grant that user explicitly. Uploading the function’s code again does not rotate the token, and an administrator who regenerates it gets no e-mail: the new token is handed straight to the function. See The per-function identity. (Since dev)

Why does my integration not receive an updated event after a write?

On the development line, a write whose entry was deleted before data-service re-read it publishes no created or updated event: the write is reported as a failure, and the deletion has its own DataEntryDeletedEvent. An event that is published still always carries dataEntry. So do not wait indefinitely for an updated event on an entry that may have been deleted. See Data Model & Events. (Since dev)

Why did a save fail with 400 FILE_EXPIRED, and how should my client attach files?

Because the save named a file id that storage cannot find — usually a temporary upload older than a day, or an id that never existed. Since 1.10 storage keeps a ledger of which saved record uses which file, and the robust pattern is the one the web portal uses: upload with ?temp=true, save the record with the returned descriptor within the day, and the save promotes the file to permanent storage under the same id. Only ids new to the stored record are checked, so re-saving an old record never fails on files it already held; details lists each missing file with its field. The fix is always to upload again and re-save. If storage cannot be reached while a save adds a new file, the save answers a retryable 503 STORAGE_SERVICE_UNAVAILABLE instead. Permanent uploads still work as before, but they are not tracked. See Temp upload, then save and FILE_EXPIRED and storage-unavailable. (Since 1.10)

Will the platform delete a file that nothing references any more?

Only a tracked file, and only after every former owner confirms it. The orphan file sweeper considers files that were promoted from a temp upload and later released; a file uploaded straight to permanent storage, or a temp file that never reached a save, is never swept. A file must have been orphaned for a grace period (7 days by default), and any listed or unknown answer from a former owner keeps it. In the service the sweeper is off by default; the deployment chart turns it on in dry-run mode, so it only logs what it would delete until an operator switches dry run off. Deleting a package version or an export never deletes its ZIP. See Orphan file sweeper and File reference ledger. (Since 1.10)

Can my client set x-service or x-view-id on a request through the gateway?

No. Through the gateway, a client-supplied x-service is removed and set to API Gateway, and a client-supplied x-view-id is cleared before any access check and set again only from the {viewId} of a /api/v1/v/{viewId}/… path — so to act through a view, use that path form. This joins the long-standing removal of x-shared-key and the other internal headers. Before the fix a client’s own x-service survived, and a client could send x-view-id on any route and be authorized as if it had come through that view. A service reached directly has none of this protection. See What the gateway strips and Service and view headers are removed too. (Since 1.10)

Why does a call that used to fail with 500 now answer a 4xx?

Because refusals of the caller’s input or entitlement now carry their own status and a stable error.code. Examples: 400 INVALID_POINTER for a pointer such as @me or @today('-1d') that is not a known pointer function (pointers are no longer evaluated as code), 400 MISSING_REQUIRED_PARAMETER for an entry create sent with no body at all, 403 ACCESS_OBJECT_NO_AUDIENCE, 404 QUERY_NOT_FOUND, and 404 for a space that does not exist. Separately, a 4xx from another OSOS service is now relayed with that service’s own status rather than flattened to 500 — that one also shipped in 1.8 patches (Since 1.8). Branch on error.code and treat the status as the coarse signal. See Typed refusals that used to answer 500 and Write refusals added in 1.10. (Since 1.10)

What does 503 TENANT_IN_MAINTENANCE mean, and what should my client do?

In a multi-tenant deployment, it means the tenant’s data is being restored from a backup, or an operator is holding the tenant for a move to another cell. Every request for the tenant — including identity’s /auth, /token and refresh — answers 503 with Retry-After; wait that long and retry rather than signing the user out. Bus consumers park the tenant’s messages meanwhile and replay them afterwards, with one deliberate exception: a message first parked during a restore that rewound the data is dropped, so an integration that relies on an event for an outside effect must treat events from inside a restore window as possibly never delivered. Single-tenant installations have no maintenance state. See Delivery while a tenant is under maintenance and Write refusals added in 1.10. (Since 1.10)

Can I back up, restore or export a tenant through the API?

Yes, as the tenant’s own system administrator in a multi-tenant deployment — there is no web screen for it in 1.10, and in a single-tenant deployment every route answers 501 BACKUP_NOT_SUPPORTED_IN_SINGLE_MODE. Each start answers 202 and you poll: POST /api/v1/admin/backups, POST /api/v1/admin/exports, and a restore in two steps — a preview that returns a single-use confirmationToken, then the restore with that token. From the start of a restore the tenant answers 503 TENANT_IN_MAINTENANCE to everything except the GET routes of this family. An export is downloaded through a single-use link (at most five per export) and holds the tenant’s databases without user accounts. Starts count against per-day quotas (429 with Retry-After when exceeded), and there is no cancellation. See Tenant backups, restores and exports and Long-running work. (Since 1.10)

Why does my client receive real-time notifications from every space?

Because notifications are not space-scoped on the socket: the notification push reaches the user’s room whatever space it was raised in. The shipped web client drops a pushed notification that belongs to a space other than the active one, but that filter is client-side only. A custom client should filter on the entry’s value.space itself. See Real-time. (Since 1.10)

Does the V2 end-user web need its own OAuth client?

No. When a deployment serves the end-user web (END_USER_ENABLED=true, at END_USER_PATH, /v2 by default), the standard public web client also allows https://<domain><END_USER_PATH>/auth-callback for every domain of every tenant — the same client_id, with post-logout URIs unchanged. With the end-user web off, no such redirect URI exists. This is the routing only: the V2 web app itself is still Since dev. See Authentication & OAuth. (Since 1.10)

Data and information modeling — API and errors

Section titled “Data and information modeling — API and errors”
Can I move an entity to another module?

Yes, as a system administrator. Since 1.10 moving an entity (PATCH /v1/entities/{id}/module) is system-admin only, and POST /v1/entities/move moves 1 to 50 entities into one module in one request, reporting each as moved or failed; virtual entities can be moved too. When an entity moves, its child views and collections follow it; the move is refused into the protected core module and into a module that is being permanently deleted (409 MODULE_BEING_DELETED). The entity’s normalized name and type stay fixed through the move. See Admin move, bulk move and what a move repairs. (Since 1.10)

Are there limits on how much data or how many records I can store?

Only if the tenant’s plan sets one — and since 1.10 a plan can. Individual field types still impose their own size or count limits, but the platform-wide limits are now plan limits, and a limit that is not set is not enforced:

  • Entries — counted daily and weighted (active and draft entries count 1, archived 0.25; only user-built entities count). A warning starts at 80 % of the cap; creating an entry — single, batch, draft or through a proxy — is refused with 403 ENTRY_CAP_EXCEEDED once the total reaches the hard limit (the cap plus 10 %), unless overage is granted. Reading, editing and exporting are never refused.
  • Entities — creating one beyond the limit is 403 ENTITY_CAP_EXCEEDED; implicit and core-module entities do not count.
  • Spaces — 403 SPACE_CAP_EXCEEDED on any write that adds a space beyond the limit.
  • Storage — an upload at or across the limit is 403 STORAGE_CAP_EXCEEDED from the storage service.
  • Reaction runs per month — a run over the limit fails no request; it is recorded as refused and none of its actions run.

A package install that would pass the entries limit is refused up front. See Plan limits: usage and refusals, Entity cap and, for what an administrator sees, Plan limits. (Since 1.10)

Can I permanently delete an entity or a whole module?

Yes, since 1.10, as a system administrator. DELETE /v1/entities/{id}/permanent irreversibly removes a Custom, Request or virtual entity and everything it owns, and DELETE /v1/data-module/{id}/permanent removes a module and everything in it as a background job; the ordinary delete routes are unchanged. Both follow an “unlink first” rule — they refuse with 409 ENTITY_HAS_DEPENDENTS / 409 MODULE_HAS_DEPENDENTS while anything outside still references them, and refuse resources installed from a package with 403. See Permanent delete (purge) and Modules — Permanent delete. (Since 1.10)

Can I add my own database indexes to an entity?

Yes. The entity builder’s Indexes tab lets an administrator define up to 10 extra MongoDB indexes per entity — 1 to 8 fields each, optionally Unique, with an optional partial filter — to speed up a frequent filter or sort or to enforce uniqueness across fields. A unique index must carry a partial filter that excludes empty values, because MongoDB indexes a missing value as null; the tab is not offered for core-module, Request or virtual entities. See Entity indexes (Indexes tab). (Since 1.10)

Can a Category field hold several values, and what happens when I turn that on?

Yes, since 1.10: turn on Multiple in the field’s value settings, optionally with a minimum and maximum number of selections, and the field stores an array [{id}, …] instead of a single {id}. Turning it on is a breaking change — the entity’s version is bumped and existing entries are wrapped into one-item arrays when upgraded — and the switch is refused with 400 CATEGORY_FIELD_MULTI_VALUE_IN_USE while a Kanban board, grouping, sort, dashboard or timeline relies on the field. A multi-value category can never be the main category, a Kanban column field, a default sort or a dashboard group-by (400 MULTI_VALUE_CATEGORY_FIELD_NOT_ALLOWED). See Multiple values. (Since 1.10)

Can end users add or edit a Category field's options themselves?

Yes, from an entry’s create or edit card, when two settings line up: Allow users to manage options on the Category field (not allowed on a field whose options are mapped from another field), and Add category options / Edit category options on the view’s create or edit operation. The changes travel with the entry write as categoryOptionChanges and are saved together with the entry; a conflicting concurrent change is refused (CATEGORY_OPTION_CONFLICT or CATEGORY_OPTIONS_CHANGED) and the user reloads. See Letting users manage options. (Since 1.10)

Working with data — views, faces, and entries — API and errors

Section titled “Working with data — views, faces, and entries — API and errors”
How do I let end users reorder repeated values?

Turn on allowRepeatableReorder — a per-operation view-configuration option that sits on each entry in the edit configuration’s supported-operations list, not on the field definition. So the same field can be reorderable on Create and fixed on Edit within one view, or reorderable on one view and not on another. It becomes selectable only once the operation’s field list contains at least one repeatable target (a repeatable field or a repeatable block), and it resets itself to off if you remove the last eligible field. When it is on, each repetition gains a drag handle on the create or edit form; the handle appears only when there is more than one repetition, and dragging marks the form dirty so the new order is saved with the entry.

Both clients honour this setting. The mobile app reads the same per-operation flag off the view configuration and renders its own drag handle on each repetition beyond the first, so a view configured for reorder behaves the same in the web portal and on the phone. (Repeatable reorder was web-only when it first shipped; that is no longer the case.) See Data views. (Since 1.8)

Why did saving a view or page answer 409 UPDATE_CONFLICT?

Because someone else saved it after you opened it. A view or page is saved as a whole document, guarded by its updateIdentifier. Before 1.10 only an up-front read compared the tokens, so two saves that both passed it could overwrite each other; now the write itself is conditional, and the second of two concurrent saves loses with a 409. Re-read and save again. Two other view-save refusals are now typed rather than 500: enabling entry edits with no supported operation is 400 DATA_VIEW_INVALID_ALLOWED_OPERATIONS, and asking whether a caller may open a view, page or report that enables neither audience is 403 ACCESS_OBJECT_NO_AUDIENCE. See Saving a view: conflicts and refusals. (Since 1.10)

Can I rename a view or page that was installed from a package, or change its icon?

Yes. A view or page an installation wrote is locked, but its name, description and icon can be changed in the editor (not the name of an implicit view), which shows the package’s value beside yours. Your label is kept across package updates; the package’s own value is recorded in packageLabels, which a client cannot write. Through the API, send the labels on PATCH /api/v1/entities/{entity}/views/{id} or PATCH /api/v1/generic-views/{id} with the current updateIdentifier (409 UPDATE_CONFLICT otherwise); description: null clears the description, and icon: null clears the icon only with ?clearIcon=true. Publishing state, display order, audience and access rights also stay yours. Anything else is still 403 PACKAGE_RESOURCE_READ_ONLY. See Installed views and Update flow: concurrency and installed pages. (Since 1.10)

Queries, search, and sorting — API and errors

Section titled “Queries, search, and sorting — API and errors”
How does a parameterized quick query get its values?

Since 1.10 each applied quick query carries its own values: end users get a Query parameters dialog, and the API takes quickFilterParameters keyed by query id ({"<queryId>": {"<parameterName>": value}}), falling back to the flat parameters object so existing Grafana panels keep working. A missing value fails the request with 422 QUICK_FILTER_PARAMETER_VALUE_MISSING, and a parameterized quick query can never be applied by default. See Parameterized quick queries. (Since 1.10)

How do I hand a workflow step off to an external system?

Use an External Step (StepType.ExternalStep). Its ExternalStepConfig is required and carries a URL, a Method (GET or POST), and Open As — how the destination is presented to the owner. A POST step may also carry a Custom Payload; by default the request sends the entry’s details plus the step’s actions. Embed the callback with the {{@returnUrl}} token in the URL or the payload — use {{@returnUrl:actionId}} when the step has more than one action, since a bare token is auto-substituted only when there is exactly one. The step’s owner must resolve to exactly one specific user (group, dynamic, and expression owners are rejected at save), and the step completes only when the external system calls back. See Workflow model and API reference. (Since 1.8)

Why did a workflow action come back with `409 UPDATE_CONFLICT`?

Because someone else changed the entry’s workflow first. Since 1.10 every workflow write — executing an action, starting or completing a sub-workflow, inserting an ad-hoc step, changing the owner or the step — is saved only if the workflow is still in the state it was validated against, and a lost race answers 409 UPDATE_CONFLICT with nothing recorded or published. Reload the entry and decide again; a step-up proof is given back for its remaining lifetime so the retry can use it. See Concurrency guard on workflow writes. (Since 1.10)

Why do executing a hidden action and taking an owned step now answer 422?

Because they are refusals of the request, not server faults. Executing an action that is hidden on the entry answers 422 WORKFLOW_ACTION_EXECUTION_NOT_ALLOWED, and taking ownership of a step that already has an owner answers 422 CURRENT_STEP_ALREADY_OWNED; both used to be 500. It is deliberately 422, not 403, because the web client sends every 403 to its access-denied page. Client code that matched on the 500 should match on the error code instead. See Typed refusals that used to answer 500. (Since 1.8)

Reactions and automation — API and errors

Section titled “Reactions and automation — API and errors”
Can a reaction call an external system or run my own code?

Yes. A reaction’s Call API action (CallApi, 90) sends an outbound HTTP request (GET/POST/PATCH/PUT/DELETE) and captures the response, and the Execute Function action runs a serverless function you have deployed. Reach for these when you need external network calls or custom logic beyond the built-in, no-code action catalogue.

What replaced the "UI Event" toggle on a custom action trigger?

Two settings. The trigger is now named Custom Action in the builder (it is still CustomEvent in the code and the API), and it carries:

  • Custom action level (customActionType, CustomActionTypeEnum) — a dropdown with three values. UI (UI action) means the action is invoked from a user interface, i.e. a system button, and is the equivalent of the old UI Event toggle being on. External (External action) can be invoked from another reaction’s Execute Custom Action in any module, and Local (Local action) only from inside its own module; reaction-service refuses an Execute Custom Action that points at a UI action. The values were first shipped as Module and Internal and renamed by a one-way migration in the same 1.8 cycle (Module → Local, Internal → External).
  • Contextual (contextual) — a toggle, on by default, stored on the trigger and shown in the editor. No runtime behaviour is attached to it yet; it is a forward-looking marker, not a switch that changes how the reaction runs today.

Two rules follow from the type: the Show to user options (execution indicator and its On Start / On Success messages) apply only when the type is UI — the service refuses them on an External or Local trigger — and asking the user for input no longer depends on the type. Buttons are unaffected on the wire: the system-button DTO still exposes a plain boolean uiEvent, now derived from the type being UI rather than read from a stored flag.

Existing reactions were all migrated to type UI with Contextual on, and the retired flag removed. The migration is one-way, so review any trigger that should now be External or Local and change its type by hand. See Custom action type and Contextual. (Since 1.8)

Can a reaction run against an entry from a different entity?

No. A reaction runs as its own entity — its actions resolve field paths and write through that entity’s definition — and the engine now enforces that explicitly. An entry whose entity differs from the reaction’s own entity is skipped with a warning in the service log instead of being run through the wrong entity’s field definitions. For related-entity triggers, entries pulled in through a relation are filtered per trigger down to that trigger’s own entity before they are fetched, which matters for a reference field that accepts more than one entity: previously every reaction sharing that relation received every referenced entry, whatever entity it belonged to. And a trigger whose defining entity cannot be resolved — a deleted entity, say — is skipped with a warning rather than failing the whole run.

No new error is raised for any of this. A foreign entry or an unresolvable entity is a logged skip, not a failure, so nothing appears in the reaction’s execution history. If a reaction seems not to have fired for some entries, look for skip warnings in the reaction-service log rather than for a failed action result. See Entity isolation. (Since 1.8)

Can a reaction grant or remove access permissions?

Yes, since 1.10, with the Set Permission and Remove Permission actions, on a System, Module, entity, view, page or report resource for users or groups; Restricted and None are never grantable, and Set never lowers a higher existing grant. A reaction cannot grant more than the person who saves it: each permission action is checked against the saver’s own access at save time, and a refusal is PERMISSION_ACTION_EXCEEDS_SAVER_ACCESS. See Set / Remove Permission actions. (Since 1.10)

Why was saving a reaction refused with REACTION_AUTHORING_FORBIDDEN?

Because creating, updating or deleting a reaction needs effective Developer-or-higher access on its entity, and the caller does not have it. The refusal is a 403. Ask for Developer on the entity (or its module), or have someone who holds it save the reaction. See Typed refusals that used to answer 500 and Reactions & Automation. (Since 1.8)

Why did a reaction run show as refused, with none of its actions run?

Because the tenant reached its plan’s monthly reaction-run limit (maxReactionRunsPerMonth). The limit is enforced inside the automation service and fails no request: the run is recorded with status refused (code REACTION_RUN_CAP_EXCEEDED, with the limit, the count used and the period), and none of its actions run. Find such runs with outcome=refused on the run history, status=refused on the reaction logs, and the refusedCount the reaction list returns beside executedCount. A single-tenant deployment does not meter reaction runs. See Plan limits: usage and refusals. (Since 1.10)

Can a reaction send a WhatsApp message?

Yes, with the Send WhatsApp action, which sends one of the space’s approved WhatsApp message templates. The template list comes from GET /api/reaction/v1/whatsapp/templates (System View access or above), which answers 409 whatsapp_not_configured until the space’s WhatsApp business account is set up and leaves out authentication-category templates. The account is configured in the System Settings entity — there is no dedicated admin screen in 1.10 — and each message’s delivery status is recorded in the WhatsApp message log. See WhatsApp and, for the action itself, Reactions & Automation. (Since 1.10)

Why didn't my ReactionFailed reaction fire when the monthly run limit stopped a run?

Because a refused run is not a failed run. Once the tenant has used its monthly run allowance, the run is recorded as refused, none of its actions run, and no “this reaction finished” event is published, so neither a ReactionFailed nor a ReactionSucceeded reaction fires on it. Watch for refused runs instead, with outcome=refused on the run history or the reaction’s refusedCount. See Monthly run limit and refused runs. (Since 1.10)

Why can't my Call API action reach an internal host?

Because a Call API action refuses private and internal destinations: private, loopback, link-local (cloud metadata included), CGNAT, multicast and reserved addresses, IPv4 or IPv6. Host names are checked when they resolve, so a public name that points at a private address is refused too, and every redirect is checked again. Only the operator of your deployment can open a particular private destination, through the CALL_API_ALLOWED_PRIVATE_DESTINATIONS allow-list, so ask them. Other limits apply to every call: HTTP(S) only, 30 seconds for the whole exchange, and a 10 MiB body cap. See Call API: what the platform allows. (Since 1.8)

Why was a system button silently removed when I saved a view?

Five system-button ids are implicit — VIEW, EDIT, ARCHIVE, CREATE, and DUPLICATE. They are not stored buttons; they are derived from the view’s own configuration. If your save payload still carries one the current configuration no longer permits — the classic case is an EDIT or DUPLICATE button left behind after you switched the matching operation off — the save now succeeds and prunes the disallowed implicit button instead of failing with a “system button not found” error. Only those five ids are eligible: custom system buttons and template buttons are never pruned, and a reference to one that does not exist is still an error. See Data views. (Since 1.8)

Permissions, sharing, and sensitive data — API and errors

Section titled “Permissions, sharing, and sensitive data — API and errors”
Is there an API for managing sensitive-field grants?

Yes — the /v1/sensitive-field-grants* endpoints, which back the administrator’s Sensitive Permissions page and the per-user / per-group tabs. GET returns every active grant space-wide, or a single user’s direct plus group-inherited grants, or a group’s own grants, or the principals holding a wildcard grant that covers one field. POST creates grants (reporting created rows and skipped duplicates), PATCH updates the expiry only, and there are separate hard-delete and archive routes. They introduce no new storage — AccessRight remains the single source of truth, and these are new read/write shapes over the same records the field editor writes. Unlike the field editor, they can author wildcard scopes and validity windows. See Sensitive fields. (Since 1.8)

Why is granting a permission refused with PERMISSION_GRANT_EXCEEDS_CALLER_ACCESS?

Because below system Admin you cannot grant a level above your own effective level on the target, nor change or remove a grant that is already above it. The refusal is a 403 whose details carry callerLevel, requestedLevel and currentLevel. Your effective level counts your system grants, your direct and group grants on the target, and what you inherit from its module or entity; under a delegation, the delegation’s permissions count. The same ceiling already applies to reactions that set permissions. See A grant cannot exceed your own level. (Since 1.8)

What is the layouts property on GET /v2/views/end-user/{id}, and can I use it?

For a view on the Layout builder display template, that route resolves the SHELL entries the template names (layout_list, layout_view, layout_edit) into layouts — {listEntry, viewEntry, editEntry}, each {id, name, definition} or null when nothing usable is linked. The template stores only references, so a layout edit reaches every linked view without re-saving it, and anonymous visitors still receive the definition; the v1 route does not carry layouts. The backend half is in 1.10, but no shipped client uses it yet: the Layout builder template and the shell builder that read layouts are still Since dev. See Layout references on the end-user route. (Since 1.10)

How do I move an application between environments (dev → staging → production)?

Use packaging. It bundles selected resources — modules, entities, views, queries, relations, reactions, reports, pages, buttons, collections, functions, and more — plus everything they depend on into a single ZIP that you export from one environment and import into another. Import is a guided, session-based flow (validate → configure mappings → execute), and it remaps source ids to target ids as it goes. Always run the export analysis first and resolve external-dependency warnings before shipping.

What is left out when I export a package?

Some resources are filtered out even if selected: archived entities (and their nested subtree), user-scoped resources, and implicit entities/reactions. Core identity entities (Users, Groups, Org Units, Working Hours) are never written into the package — they exist independently in every environment and are handled as references, which is where principal mapping and mapping profiles come in. Only hard dependencies are guaranteed to travel with a package; soft (optional) references may be nulled on import.

Why did picking an import target for a shared user or group also re-point another resource's reference?

Because both resources were bound to the same row-level decision for that principal. When the same user, group, or org unit is referenced from more than one resource in one import — a workflow step owner on an entity and the user a view is restricted to, say — each resource’s copy of the reference is now retargetable independently: the wizard recognises that a principal renders under more than one resource row, and lets each resource’s group read and write only its own occurrences. A principal confined to a single resource is unaffected and keeps using the row-level decision, which is also what a stored mapping profile remembers.

The row-level default is kept when one group diverges. An occurrence-level choice is only ever a partial override layered on the row-level decision, and the server rejects an item-level remap carrying no target of its own. So the first target you choose for a shared principal also establishes the row’s default, and a later group diverges against it rather than replacing it — which is what makes a choice made during Configure survive through to Execute. Auto-create on a principal that spans resources always applies at the row level, since auto-created entries are keyed by the principal, not by where it appears. See Packaging. (Since 1.8)

Can I import a schema 1.2 package into an environment that hasn't been upgraded?

Only if the target is on 1.10 or later. A pre-1.10 deployment still accepts 1.0 and 1.1 alone, and a package declaring 1.2 is refused there with a blocking INCOMPATIBLE_SCHEMA before any target-space lookup runs. The allow-list is not a range check, so “newer” does not mean “tolerated”. This is why export stamps the lowest version that describes the package — 1.2 only when it actually carries the field-mapping-hints.json sidecar, 1.1 otherwise — so an export with no mapped fields still imports into an environment that has not been upgraded. The operator rule that follows is upgrade the target environment before the source. The same holds for 1.3 and 1.4 — declared by a published package version and by any package that carries a README — which a pre-1.10 target also refuses with INCOMPATIBLE_SCHEMA; see What 1.3 and 1.4 add. See Schema versioning. (Since 1.10)

Can I publish a template to the marketplace and install apps from an in-app store?

Yes, in 1.10: a package owns modules, its published versions (and its store page) go through an internal review inbox before reaching the marketplace, and the in-app store installs from the catalog. The marketplace is off until an operator enables it (every marketplace route answers 503 MARKETPLACE_DISABLED meanwhile). Once it is on:

  • Browsing needs no connection; installing does, and the first install connects the environment after you confirm.
  • Connecting and publishing are separate. Connecting makes the environment install-only; publishing also needs a publisher, set up afterwards, and the marketplacePublish plan entitlement.
  • Rights come from three system groups — publishers, reviewers and installers. Publishing and reviewing need group membership even for a system administrator.
  • The publisher terms are accepted at approval, by the reviewer, not when the request is sent.
  • An installed app is updated in place to a newer listed version; you no longer uninstall and reinstall.

See Packages, Marketplace & the In-App Store. (Since 1.10)

Why can't I edit or export a resource that was installed from a package?

Because an installation locks what it created: data-service and reaction-service refuse an update or delete with 403 PACKAGE_RESOURCE_READ_ONLY for every caller, system administrators included, a plain import over it is blocked with TARGET_INSTALLED, and a plain export refuses it with 403 EXPORT_INSTALLED_RESOURCE. A few things stay yours on a locked view or page — its published state, display order, audience and access rights, and its name, description and icon — and an update of the package keeps them. To change anything else, fork the installation (POST /v1/installations/{id}/fork): its resources become editable, but they no longer follow the package, receive no updates, and can never be exported or published. See Install mode and Fork and uninstall. (Since 1.10)

Who may export a package, and who may import one?

Since 1.10, exporting is a developer action: a system grant of Developer or higher may export any roots, a system grant of None refuses, and otherwise every root needs Developer or higher on the module or entity that owns it. Importing is the opposite — validate, configure, execute, retry and cancel all require a system-level administrator grant, because import writes skip per-resource grants. See Export access and Import access and execution guards. (Since 1.10)

Do I need a marketplace connection to browse the in-app store?

No. When the environment is not connected — never connected, or revoked — the catalog, the publishers and the app pages are read anonymously from the marketplace’s public catalog. Only installing needs a live connection: on Install, an environment that is not connected yet asks you to confirm in a Connect to the marketplace dialog, connects, and then installs. Connecting that way creates no publisher. The store still needs the marketplace to be enabled by an operator, the ROOT space, and the install permission. See The store routes and Installing from the store connects first. (Since 1.10)

We are connected to the marketplace — why is sending a version for review refused?

Because connecting does not make you a publisher. A new connection is install-only; preparing a publish request is refused with 409 MARKETPLACE_PUBLISHER_REQUIRED until someone sets up publishing (POST /v1/marketplace/publisher), choosing a publisher name and, optionally, a store address. Set-up needs a system administrator or a publish holder and the marketplacePublish plan entitlement; afterwards only a system administrator can rename the publisher or change the store address. Two other refusals are common at this point: 403 MARKETPLACE_PUBLISH_NOT_IN_PLAN when the plan does not include publishing, and 409 PACKAGE_OWNED when another marketplace publisher owns the app. See Connecting and setting up publishing. (Since 1.10)

Why is Send for review disabled, with a "publishing revoked" warning?

Because the marketplace has stopped your publisher from publishing, without ending the connection. The package page shows the date and the marketplace’s reason as written, and the connection card shows a Publishing revoked tag; new versions and store-page changes cannot be sent until the marketplace restores publishing. Installing and updating apps keep working. Your environment does not decide this: the marketplace refuses the submissions (502 MARKETPLACE_REFUSED), so the remedy lies with the marketplace. Available from release 1.10.2. See Publishing revoked by the marketplace. (Since 1.10)

I am a system administrator — why can't I send a package for review or approve one?

Because publishing and reviewing come from group membership alone. A system administrator holds only install and update without belonging to a group; publish needs membership of MARKETPLACE_PUBLISHERS and review of MARKETPLACE_REVIEWERS, otherwise the answer is 403 MARKETPLACE_PERMISSION_REQUIRED. Add yourself to the group: membership is cached for 60 seconds, but a refused system administrator re-reads their groups once without the cache, so there is no wait. The publisher terms are asked for at approval — the reviewer accepts them in the approve dialog when the answer is 409 MARKETPLACE_TERMS_REQUIRED — not when the request is sent. See The three marketplace groups and Publish requests and the review inbox. (Since 1.10)

How do I move an installed app to a newer version?

Update it in place — no uninstall and reinstall. An installed store app with a newer listed version offers Update on its installation page and on its store app page; both open an update preview with the release notes between the two versions. Through the API: stage an update session (POST /v1/installations/{id}/update-sessions), then run it (POST /v1/installations/{id}/update), with a retry route for a failed update. The update routes need an environment administrator in the ROOT space and the update permission (the installers group). A forked installation cannot be updated (409 INSTALLATION_FORKED), and neither can a version that is not newer (409 UPDATE_NOT_NEWER). See Updating an installed app in place. (Since 1.10)

An install failed — how do I recover without leaving half an app behind?

What a failed install created stays locked, so nothing is left unprotected. Its installation page shows the way forward: retry from its import session while that session exists, or upload the same package file again, which takes the failed installation over. When a compatible newer version is available, Update is offered instead: it overwrites what the failed run created and installs the rest, so a failure caused by the package itself no longer needs an uninstall first. Uninstall remains possible from failed, and a stopped uninstall offers Retry. Before installing at all, the store’s install check (POST …/install-check) says whether a version would install now, and which names collide. See Installed list and installation page and Store install check. (Since 1.10)

How do I tell a publisher that their app failed to install?

From the installation page: a failed store install, or a stopped store update, offers Report to publisher. It first previews exactly what will be sent (the package and version, the error and the failed resources of the run), and you can add a note and choose whether to share your name and e-mail. You need to be an environment administrator in the ROOT space with a live marketplace connection; the publishing entitlement is not needed. If the error changed since the preview, the send is refused with 409 REPORT_STALE, so preview again. Available from release 1.10.1. See Reporting a failed install or update to its publisher. (Since 1.10)

Can I uninstall an installation I have forked?

Yes. Uninstall is allowed from active, failed, forked or uninstalling, and needs an environment administrator. On a forked installation the dialog warns that your own changes to the forked resources are deleted with them. Either way, the dialog lists what is deleted, the entries users created that go with it and the links from outside the package; Uninstall stays disabled until those outside links are removed, and the server refuses a call that skips the dialog with 409 UNINSTALL_BLOCKED_BY_OUTSIDE_LINKS. A module that still holds entities your users created is kept. See Fork and uninstall. (Since 1.10)

How do I find failed or uninstalled installations?

On the Installed page (/admin/packages/installed), filtered from the toolbar: a Status select (Installed, Failed, Uninstalled) and a Source select beside the search and sort. Both start empty, so every status and source shows until you pick one; there is no All option. Each row shows who installed the package and, for a store install, its publisher. The API equivalent is GET /v1/imports with state (installed, failed or uninstalled) and source. (This page said earlier that 1.10 shows status tabs; the toolbar selects are in the 1.10.0 release.) See Installed list and installation page and Store and Installed polish. (Since 1.10)

What do the package history and export records keep, and does deleting a version or an export free its ZIP?

The package page’s history sidebar records the package’s life: created, edited (with what changed), README edited, versions created, deprecated, undeprecated and deleted, and the review events. Every export writes an export record (GET /v1/exports, listed on the Build page’s Exports tab), from which the same export can be reopened and started again.

Deleting either removes the record only — the ZIP stays in storage, because tenant backups list stored files without copying them. A version can be deleted only if the store never received it: one that was sent for review or is installed somewhere is refused (VERSION_SENT, VERSION_INSTALLED), and a deleted version’s number is never reused. See Export records and Build page and package page. (Since 1.10)

Why does an import stop at Choose a field for a mapped field?

Because the import could not work out which field on the target parent entity the mapped field copies from, and the installer now decides. The import first matches the source field by name; when that fails, validation reports the field as unmatched or unnamed and raises the blocking error MAPPED_FIELD_SOURCE_UNDECIDED, so canProceed stays false. Pick Copy from a field on the target parent — only fields of the same type, with compatible relation targets and, for two-way mappings, the same required setting are offered — or Don’t copy. Execute and retry check again (409 MAPPED_FIELD_SOURCE_UNDECIDED). A store install or update that runs without the wizard returns the field among the choices you must make on the import page. The earlier non-blocking MAPPED_FIELD_SOURCE_UNRESOLVED warning is not in 1.10. See Mapped fields: the installer decides and the import API. (Since 1.10)

Can a package hold pages that belong to no module?

Yes. A global page — one with no module or entity scope — can be a root of a package, alone or beside modules, so a package may hold only pages. A package save naming a page that belongs to a module or entity is 422 PACKAGE_PAGE_NOT_GLOBAL, and publishing refuses a page that has since moved into one (PUBLISH_PAGE_NOT_GLOBAL) or that was itself installed or forked from another package. A statistic-query widget whose data points outside the package installs unconfigured instead of failing the install. See Global pages in packages. (Since 1.10)

Do a function's secrets travel in a package?

No. On the development line a packaged function carries its secret names only: every value is exported as null, and the function’s own OSOS_API_TOKEN and identity are left out, because the encrypted values are bound to the source environment’s keys. The install strips them again, so even an older package cannot plant them. Set the values in each target environment after installing. See Function secrets stay in their environment. (Since dev)

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27