# Supero Community > Questions and answers about building on Supero: the REST API, SDKs, MCP, workflows, payments, deploys and the in-app AI agent. The reference docs are at https://docs.supero.dev (see https://docs.supero.dev/llms.txt). ## Data, Schemas & Queries - [How do I filter a GET list, e.g. `?status=active`?](https://forum.supero.dev/t/how-do-i-filter-a-get-list-e-g-status-active-1004.md): GET list only reads paging and scope parameters: limit, offset, cursor, sort_by, sort_order, include_total, parent_id/parent_uuid, parent_type, tenant,… - [Writing immediately after a schema upload](https://forum.supero.dev/t/writing-immediately-after-a-schema-upload-1007.md): A write made right after an upload can briefly be refused while the new schema becomes visible. The SDKs retry this for you; with raw HTTP, retry the first… - [Reading batch create results: created, failed and skipped rows](https://forum.supero.dev/t/reading-batch-create-results-created-failed-and-skipped-rows-1008.md): For a batch, the body is the result, not the status code. The errors list holds only the first 10 failures, each cut to 200 characters. Processing stops after… - ["Invalid UUID format" when passing a project name](https://forum.supero.dev/t/invalid-uuid-format-when-passing-a-project-name-1013.md): Path identifiers are UUIDs. Convert the name with POST /api/v1/crud/{domain}/fq-name-to-uuid first. - [Max page size for list calls](https://forum.supero.dev/t/max-page-size-for-list-calls-1016.md): The maximum is 1,000, and larger values are clamped to 1,000. The default of 50 only applies once you send some pagination parameter. A request with no… - [Changing a record's fq_name after create](https://forum.supero.dev/t/changing-a-records-fq-name-after-create-1017.md): uuid, fq_name, created_at, updated_at, parent_type and parent_uuid are fixed after create. An update that includes them drops those fields and saves the rest,… - [Encrypting a field](https://forum.supero.dev/t/encrypting-a-field-1061.md): Encryption happens in your code through the generated SDK: ApiLib(enable_encryption=True, encryption_key=<32-byte AES-256 key>). Fields are encrypted before… - [`sort_by` in a /query body is ignored](https://forum.supero.dev/t/sort-by-in-a-query-body-is-ignored-1094.md): /query sorts with a sort array. sort_by and sort_order belong to GET list and POST /list-bulk. Each endpoint drops the other's spelling without an error, so… - [Showing a total count next to a filtered list](https://forum.supero.dev/t/showing-a-total-count-next-to-a-filtered-list-1095.md): /query returns only success, results and result_count. It has no pagination object, so there's nowhere for a total to go. For the list itself, use POST… - [Coming from Firestore: how do I model subcollections?](https://forum.supero.dev/t/coming-from-firestore-how-do-i-model-subcollections-1096.md): The closest equivalent is a parent relationship. Set parent_type on the child schema to the container schema's bare name (customer), then pass the parent when… ## Auth, Users & Access - [401 when sending an API key as `Authorization: Bearer`](https://forum.supero.dev/t/401-when-sending-an-api-key-as-authorization-bearer-1005.md): Send API keys in X-API-Key. Authorization: Bearer is for the JWT you get back from login; a key sent as Bearer gets 401. Send only one credential header. A… - [How long do access and refresh tokens last?](https://forum.supero.dev/t/how-long-do-access-and-refresh-tokens-last-1018.md): Access tokens last 8 hours (expires_in: 28800) and refresh tokens 7 days. Refresh with POST /api/v1/auth/refresh and end the session with POST… - [Removing a user from an app](https://forum.supero.dev/t/removing-a-user-from-an-app-1019.md): Disable the user: PUT /api/v1/users/{uuid}/disable (and /enable to undo it). To move someone to another tenant, use POST /api/v1/users/{uuid}/move-to-tenant. - [Inviting admins without choosing their password](https://forum.supero.dev/t/inviting-admins-without-choosing-their-password-1020.md): Call POST /api/v1/users/register with require_activation: true. The user is created disabled and is emailed a code. They complete activation with POST… - [Google Sign-In: `redirect_uri_mismatch`](https://forum.supero.dev/t/google-sign-in-redirect-uri-mismatch-1021.md): The redirect URI in your Google OAuth client has to match exactly, including the scheme, host, path and trailing slash. A missing / at the end and http… - ["Google token exchange failed" when the popup closes](https://forum.supero.dev/t/google-token-exchange-failed-when-the-popup-closes-1022.md): The Client ID or Client secret saved in Supero doesn't match Google. Saving the integration doesn't check them with Google. Copy both again (watch for a… - [Which accounts can use Google Sign-In](https://forum.supero.dev/t/which-accounts-can-use-google-sign-in-1023.md): Google Sign-In is for the app's end users: the tenant_user, viewer, customer, user, member and guest roles. Admin and custom roles sign in with a password. It… - [Choosing a base role for a custom role](https://forum.supero.dev/t/choosing-a-base-role-for-a-custom-role-1025.md): base_role is tenant_admin, tenant_user or viewer, and it is the most the custom role can do. You can't reuse a built-in role's name. Someone who needs… - [`access_token` is undefined after a successful login](https://forum.supero.dev/t/access-token-is-undefined-after-a-successful-login-1104.md): The login response isn't flat. It has four blocks, auth, user, context and policy, and the tokens sit inside auth: The refresh call is shaped differently. You… - [Role still reads an entity after setting `default_access: "none"`](https://forum.supero.dev/t/role-still-reads-an-entity-after-setting-default-access-none-1105.md): default_access: "none" stops writes to entities that have no rule. It doesn't stop reads: an entity with no rule stays readable (the read is logged). To… - [GET by UUID returns 404 for a record I can see in the console](https://forum.supero.dev/t/get-by-uuid-returns-404-for-a-record-i-can-see-in-the-console-1106.md): That's owner scoping. The customer's role has an access_rule on appointment with filter_field and filter_match set, for example customer_email matched to… ## API, SDKs & CLI - [Why a mistyped API path returns 405 with HTML](https://forum.supero.dev/t/why-a-mistyped-api-path-returns-405-with-html-1006.md): A path that matches no route returns 405 with an HTML body, not a JSON 404. The double slash means a path variable (here the domain) was empty. Check res.ok… - [Branching on `error_code` in client retry logic](https://forum.supero.dev/t/branching-on-error-code-in-client-retry-logic-1014.md): Branch on error_code when it's present and fall back to the HTTP status when it isn't. Creates always carry one (for example ALREADY_EXISTS,… - [402 vs 429: which ones to retry](https://forum.supero.dev/t/402-vs-429-which-ones-to-retry-1015.md): 429 means slow down. Wait Retry-After seconds and try again; the Python SDK raises RateLimitError with retry_after set. 402 means a plan limit has been… - [Installing the SDKs](https://forum.supero.dev/t/installing-the-sdks-1059.md): pip install supero for Python (synchronous), npm install @supero/js-lib for JavaScript. The Python entry points are login(...), connect(domain_name,… - [CLI in CI: ".env not configured"](https://forum.supero.dev/t/cli-in-ci-env-not-configured-1060.md): --no-interactive won't prompt, so .env needs SUPERO_DOMAIN, SUPERO_PROJECT, and either SUPERO_API_KEY or SUPERO_ADMIN_EMAIL plus SUPERO_PASSWORD. Write the… - [`org.crud.get()` returns None instead of raising](https://forum.supero.dev/t/org-crud-get-returns-none-instead-of-raising-1097.md): Not-found isn't an exception in the Python SDK. org.crud.get() returns None on a 404 and org.crud.delete() returns False. Check the return value: A record… - [Uploading a file and attaching it to a record](https://forum.supero.dev/t/uploading-a-file-and-attaching-it-to-a-record-1098.md): Over REST it's two calls: upload, then write the whole file reference from the 201 body onto the record with an ordinary update. Store the object, not the… - [There's no `supero login` command](https://forum.supero.dev/t/theres-no-supero-login-command-1099.md): The supero you get from pip is an app runner, not an account CLI. There's no login, domains, schemas or keys subcommand. Run it from the root of a generated… - [Linking an order to a customer after both exist](https://forum.supero.dev/t/linking-an-order-to-a-customer-after-both-exist-1100.md): Declare the link in the order schema's references[], then add it with ref-update: operation is ADD, UPDATE or DELETE. For many edits in one call, PUT… ## Getting Started - [Can a domain name be changed?](https://forum.supero.dev/t/can-a-domain-name-be-changed-1009.md): No. The domain name appears in every API path and in your API keys, so it's permanent. The display name, logo and colours can be changed any time. If you're… - [Verification code rejected, then 429 on resend](https://forum.supero.dev/t/verification-code-rejected-then-429-on-resend-1010.md): Codes are 6 digits, valid for 10 minutes, with 5 attempts. After the fifth wrong code the pending signup is dropped and you start again. Resend has a… - [Where your app's end users sign in](https://forum.supero.dev/t/where-your-apps-end-users-sign-in-1011.md): app.supero.dev is the console for people building apps. Your app's users sign in to the app itself, at its preview or live URL. Send the tester that link. - [Password rejected after entering the verification code](https://forum.supero.dev/t/password-rejected-after-entering-the-verification-code-1080.md): The signup form only checks that the password is at least 8 characters and that both fields match. The full rule is applied when the account is actually… - [Which organization URLs are allowed? `My.Company` and `demo` were both refused](https://forum.supero.dev/t/which-organization-urls-are-allowed-my-company-and-demo-were-both-refu-1081.md): The organization URL becomes your domain, so it has to be a valid domain name: lowercase letters, digits and hyphens only (no dots, spaces or uppercase) 3 to… - [App Studio or MCP: which should I start with?](https://forum.supero.dev/t/app-studio-or-mcp-which-should-i-start-with-1082.md): Start with App Studio if you know the outcome but not the data model yet, you want something running end to end before you go into detail, and the app is a… ## Multi-tenancy & Projects - [GET list returns `[]` for a domain admin](https://forum.supero.dev/t/get-list-returns-for-a-domain-admin-1012.md): A GET list is scoped to the project in your token, which for a new account is default-project, even for a domain admin. The project and tenant query… - [Support dashboard that reads across every customer tenant](https://forum.supero.dev/t/support-dashboard-that-reads-across-every-customer-tenant-1101.md): Cross-tenant reads come from the role, not from parameters. tenant_admin, tenant_user and viewer are clamped to their own tenant on every list and query, and… - [`GET /api/v1/tenants?status=pending` returns nothing](https://forum.supero.dev/t/get-api-v1-tenants-status-pending-returns-nothing-1102.md): status has no pending value. A tenant's status is active, suspended or archived, plus pending_setup, which is reserved and never written. The create endpoint… - [Moving records from one project to another](https://forum.supero.dev/t/moving-records-from-one-project-to-another-1103.md): There's no move. fq_name, parent_type and parent_uuid are fixed after create, so a record can't change project. Copy it instead: read from the source project,… ## Transactional Services - [Moving an order to shipped](https://forum.supero.dev/t/moving-an-order-to-shipped-1027.md): Call the operation through POST /api/v1/services/execute. That way the state machine checks the transition and anything hooked to it runs. The usual flow is… - [Checking the outcome of services/execute](https://forum.supero.dev/t/checking-the-outcome-of-services-execute-1028.md): services/execute reports the outcome in the body. Check success first, then error_code, then status_code. - ["Cannot cancel from state 'shipped'"](https://forum.supero.dev/t/cannot-cancel-from-state-shipped-1029.md): This is INVALID_STATE_TRANSITION. The response includes current_state, allowed_from_states and a remediation hint you can show in your UI. Check the status… - [Retrying `add_to_cart` on a flaky mobile connection](https://forum.supero.dev/t/retrying-add-to-cart-on-a-flaky-mobile-connection-1030.md): add_to_cart adds to the quantity on every call. Pass a stable client_line_id and resend the same value on every retry; the server deduplicates on it.… - [`book_slot` returns 409 after `check_availability` said free](https://forum.supero.dev/t/book-slot-returns-409-after-check-availability-said-free-1031.md): check_availability reports what is free at that moment; it doesn't hold the slot. Someone booked it in between. Handle a 409 on book_slot by refreshing… - [Adding my own fields to the cart and order](https://forum.supero.dev/t/adding-my-own-fields-to-the-cart-and-order-1107.md): Make your own schema extend the base and add the field there: Your schema inherits the base's status, timestamps and totals. Operations work out which schema… - [Plan is `active` but subscribers are never charged](https://forum.supero.dev/t/plan-is-active-but-subscribers-are-never-charged-1108.md): recurring_plan doesn't charge anyone. renew_period only moves the clock forward. Billing each period is a scheduled job your app runs. It scans active plans… - [`cancel_plan` succeeded but the plan still says `active`](https://forum.supero.dev/t/cancel-plan-succeeded-but-the-plan-still-says-active-1109.md): cancel_plan defaults to immediate: false, which cancels at the end of the current period. It stamps cancelled_at and expires_at and leaves the status active,… - [`booking`, `appointment` or `rental`: which service for scheduling?](https://forum.supero.dev/t/booking-appointment-or-rental-which-service-for-scheduling-1110.md): Pick by what is being reserved: appointment: a visit with a provider, such as a clinic, salon or consultant. It has check_provider_availability,… ## Payments & Email - [Test keys and cards for Stripe, PayPal and Razorpay](https://forum.supero.dev/t/test-keys-and-cards-for-stripe-paypal-and-razorpay-1032.md): Stripe: sk_test_… keys, card 4242 4242 4242 4242 PayPal: paypal_mode: sandbox, and switch it to live at launch Razorpay: rzp_test_ keys, card 4111 1111 1111… - [SendGrid reports sent but nothing arrives](https://forum.supero.dev/t/sendgrid-reports-sent-but-nothing-arrives-1033.md): Check sandbox_mode on the SendGrid integration. When it's true, SendGrid validates the message and reports success without delivering it, so set it to false… - [`billing` or `stripe_checkout`: which Stripe integration?](https://forum.supero.dev/t/billing-or-stripe-checkout-which-stripe-integration-1069.md): stripe_checkout creates Stripe-hosted checkout sessions and payment links, so the customer pays on Stripe's page and you never handle card fields. It needs… - [SendGrid (`email`) or SMTP (`email_smtp`)?](https://forum.supero.dev/t/sendgrid-email-or-smtp-email-smtp-1111.md): No. Import email_smtp and point it at your own server. Both services expose the same send_email operation with almost the same fields, so code written for one… - [Setting up the Stripe webhook for `stripe_checkout`](https://forum.supero.dev/t/setting-up-the-stripe-webhook-for-stripe-checkout-1112.md): The service has no webhook signing secret. Stripe callbacks are signature-checked, and when stripe_webhook_secret isn't set they fail closed with 503 instead… - [Starting a subscription with Stripe Checkout](https://forum.supero.dev/t/starting-a-subscription-with-stripe-checkout-1113.md): Create the subscriber's records first: the member_plan (it starts inactive) and, if you gate access, a membership record (starts pending). Then create a… - [Rotating a provider key without re-entering the whole config](https://forum.supero.dev/t/rotating-a-provider-key-without-re-entering-the-whole-config-1114.md): You don't need to resend it. PUT /api/v1/services/{service_id}/config merges config_data into what's stored, so send only the field you're changing: Fields… ## Workflows & Automation - [Workflow saved but never runs](https://forum.supero.dev/t/workflow-saved-but-never-runs-1034.md): Check these in order: The status is exactly Active. A draft fails with an "in Draft status" error. enabled isn't false. validate_workflow comes back clean.… - [Every `{{input.x}}` renders empty](https://forum.supero.dev/t/every-input-x-renders-empty-1035.md): The fields go under input: {"workflow_id": "...", "input": {"email": "a@b.co"}}. - [Saga ends in `compensation_failed`](https://forum.supero.dev/t/saga-ends-in-compensation-failed-1036.md): With on_error: compensate, each service_call and crud_operation step needs its own compensate block. A step without one stops the rollback there. A manual… - [Welcome email when a user signs up](https://forum.supero.dev/t/welcome-email-when-a-user-signs-up-1037.md): Bind the workflow to @signup and map the address with input_map, for example user.email. Record events work the same way, and paths can follow references,… - [Seeing why a workflow run failed](https://forum.supero.dev/t/seeing-why-a-workflow-run-failed-1038.md): Query wf:workflow_instance for the run, then wf:workflow_step_log for its steps. input_sent and output_received show exactly what each step sent and got back. - [`crud_operation` step returns 404](https://forum.supero.dev/t/crud-operation-step-returns-404-1039.md): object_type must include the namespace, for example acmestore:order rather than order. - [Loop body runs once even though the condition is already true](https://forum.supero.dev/t/loop-body-runs-once-even-though-the-condition-is-already-true-1040.md): Loops are do-while, so the body always runs at least once. To skip the loop entirely, wrap it in a condition step. max_iterations defaults to 10. - [Which `on_error` should payment steps and notification steps use?](https://forum.supero.dev/t/which-on-error-should-payment-steps-and-notification-steps-use-1115.md): Set a workflow-level default and override it per step. A step's own on_error wins, then the workflow's, then stop. The engine reference recommends: payment… - [Run ends `partial` and the email step is `failed`](https://forum.supero.dev/t/run-ends-partial-and-the-email-step-is-failed-1116.md): partial means the run finished and at least one step failed under on_error: continue. The workflow ran; the failing step needs attention. An effectful step… - [`run_workflow()` in the Python SDK returns `None`](https://forum.supero.dev/t/run-workflow-in-the-python-sdk-returns-none-1117.md): run_workflow() never raises. It returns the parsed {success, output, ...} envelope, or None on a transport or auth failure, meaning the call didn't get… ## MCP & AI Editors - [Connecting Claude to Supero](https://forum.supero.dev/t/connecting-claude-to-supero-1041.md): In Claude on the web or desktop, go to Customize → Connectors → Add custom connector, enter https://mcp.supero.dev/mcp, then sign in and allow. In Claude… - [Using MCP from CI with an API key](https://forum.supero.dev/t/using-mcp-from-ci-with-an-api-key-1042.md): mcp.supero.dev/mcp is for sign-in connections from editors. From CI, use https://api.supero.dev/mcp/v1/messages with X-API-Key. Domain-admin and project-admin… - ["This connection can't publish apps"](https://forum.supero.dev/t/this-connection-cant-publish-apps-1043.md): The connection was approved without "Let it publish apps" ticked. Open the link in that message and tick it; previews work either way. Your connections are… - [Bundle size limits over MCP](https://forum.supero.dev/t/bundle-size-limits-over-mcp-1044.md): The limits are 300 files, 2 MB per file, about 8 MB in total and a 12 MB request body (larger bodies get 413). The platform provides ui/index.html,… - [Cursor sign-in page says "Supero hasn't verified this app"](https://forum.supero.dev/t/cursor-sign-in-page-says-supero-hasnt-verified-this-app-1126.md): That page is normal for Cursor and VS Code. They sign in from a local address on your own machine (127.0.0.1 or localhost), and Supero can't check a program… - [Copilot in VS Code doesn't use the Supero tools](https://forum.supero.dev/t/copilot-in-vs-code-doesnt-use-the-supero-tools-1127.md): Open Copilot Chat, switch to Agent mode, and check that the Supero tools are enabled in the tools picker. If the server isn't running, open .vscode/mcp.json… - [Assistant won't work on my other project](https://forum.supero.dev/t/assistant-wont-work-on-my-other-project-1128.md): That's the access chosen on the approval page when you connected: Option What the assistant can do Who can choose it An existing project That project only.… - [Changing a published app over MCP without losing earlier edits](https://forum.supero.dev/t/changing-a-published-app-over-mcp-without-losing-earlier-edits-1129.md): For a change to an app you already published, the assistant should start with build_get_bundle. It returns the current published files, including hand-tuned… ## App Studio & Generation - [Live site unchanged after editing the app](https://forum.supero.dev/t/live-site-unchanged-after-editing-the-app-1045.md): Edits and regenerations don't go live by themselves, so deploy again. If you regenerated only the backend, also continue through the screen steps, because a… - [Regeneration finished but the new field isn't there](https://forum.supero.dev/t/regeneration-finished-but-the-new-field-isnt-there-1046.md): Read the verdict shown after the build. "No data-model change was needed" means nothing was added. Ask again and name the entity and field directly, for… - [New entity has no screen and no table](https://forum.supero.dev/t/new-entity-has-no-screen-and-no-table-1047.md): Continue through the UI steps after the regeneration, then deploy. Tables are created at deploy time, not at generation. - [Laptop went to sleep mid-generation](https://forum.supero.dev/t/laptop-went-to-sleep-mid-generation-1048.md): The build runs on the server, so it carried on without you. Reopen the project and the latest bundle is there. Regenerating would use another generation. - [Starting from a screenshot instead of a description](https://forum.supero.dev/t/starting-from-a-screenshot-instead-of-a-description-1049.md): Yes. Upload the screenshot and App Studio writes a starting description from it, which you can edit before generating. - [Entity added in a regeneration is writable by every user](https://forum.supero.dev/t/entity-added-in-a-regeneration-is-writable-by-every-user-1134.md): A new entity has no rule of its own, so it gets the role's default_access. App Studio most often generates default_access="full" for tenant_admin and… - [Schema edited with `fields` reads back as `attributes`](https://forum.supero.dev/t/schema-edited-with-fields-reads-back-as-attributes-1135.md): attributes and mandatory are the canonical spellings, and they're what App Studio emits. fields and required are accepted as synonyms, but a body sent with… - [Deleted demo account came back after regenerating](https://forum.supero.dev/t/deleted-demo-account-came-back-after-regenerating-1136.md): Regenerating re-runs setup with the configuration in the bundle. An account you deleted but left in the configuration's account list comes back, and the same… ## In-App AI Agent - [Agent replies with a 402 and `meter: agent.prompt`](https://forum.supero.dev/t/agent-replies-with-a-402-and-meter-agent-prompt-1050.md): Your plan's agent allowance for the month is used up. The 402 body includes limit, used and remaining; show its message to your user rather than a generic… - [Approve button errors when approving an edit later](https://forum.supero.dev/t/approve-button-errors-when-approving-an-edit-later-1051.md): An approval request expires after 5 minutes. Ask the agent again. You can also approve with changes by sending modified_arguments. - [Putting the agent on its own tab](https://forum.supero.dev/t/putting-the-agent-on-its-own-tab-1052.md): Add a page with view: 'ai_assistant', or place the ai_assistant_panel widget in a page. To remove the floating button, render with AppShell.render({… - [Chat call returns 200 but the reply is an error](https://forum.supero.dev/t/chat-call-returns-200-but-the-reply-is-an-error-1053.md): Check the error field in the body, because a turn that failed can still come back as HTTP 200. - [Agent vs `services.ai`](https://forum.supero.dev/t/agent-vs-services-ai-1054.md): They're separate. The in-app agent needs no setup and works on your app's data. services.ai is for AI calls in your own feature code, such as summarising a… - [Agent updated a record without asking for approval](https://forum.supero.dev/t/agent-updated-a-record-without-asking-for-approval-1130.md): Confirmation gates belong to the agentic-loop path. In mode: "single" tools run as soon as the model calls them, so an update or delete goes through with no… - [`/ai/v1/chat` returns 401 with an API key that works for CRUD](https://forum.supero.dev/t/ai-v1-chat-returns-401-with-an-api-key-that-works-for-crud-1131.md): The AI Agent API doesn't accept X-API-Key. Every /ai/v1/* route needs Authorization: Bearer , the token from POST /api/v1/auth/login: The agent has no… - [Invoking a new entity's tool returns 404](https://forum.supero.dev/t/invoking-a-new-entitys-tool-returns-404-1132.md): The tool list is cached. After uploading or changing schemas, call POST /ai/v1/tools/refresh to regenerate it, then invoke again. /invoke returns 404 for any… - [Making sure the in-app agent can't delete invoices](https://forum.supero.dev/t/making-sure-the-in-app-agent-cant-delete-invoices-1133.md): Take the permission away from the role. The agent runs as the signed-in user, with their token, through the same access checks as the rest of the app. A role… ## Connectors & External Data - [Supabase connector won't connect](https://forum.supero.dev/t/supabase-connector-wont-connect-1055.md): Set db_type: "supabase" and use the session pooler: host aws-0-.pooler.supabase.com, port 5432, username postgres., plus the project_ref… - [Incremental sync runs a full sync every time](https://forum.supero.dev/t/incremental-sync-runs-a-full-sync-every-time-1056.md): Set incremental.mode to exactly "incremental"; enabled: true alone doesn't turn it on. We'd pick a cursor column that changes on every update, such as… - [http_api connector isn't sending my API key](https://forum.supero.dev/t/http-api-connector-isnt-sending-my-api-key-1057.md): The auth fields are flat: api_key, header_name and api_key_location. Send the full url, not base_url plus endpoint. - [Forcing one full re-sync](https://forum.supero.dev/t/forcing-one-full-re-sync-1058.md): Call POST /api/v1/connectors/{id}/run with {"full_sync": true}. Incremental stays on for later runs. - [Update on a connector table returns 403 `read_only_connector_schema`](https://forum.supero.dev/t/update-on-a-connector-table-returns-403-read-only-connector-schema-1118.md): That table is in live_read mode. A live-read table is served straight from your database on every request, and every create, update and delete on it is… - [Discovery fails with `too_many_tables_for_sampled_discovery`](https://forum.supero.dev/t/discovery-fails-with-too-many-tables-for-sampled-discovery-1119.md): Discovery samples real rows by default (infer_from: "samples"), and sampled discovery takes at most 100 tables per run. Either run it in batches of 100 or… - [Connecting Snowflake: what goes in `plugin`?](https://forum.supero.dev/t/connecting-snowflake-what-goes-in-plugin-1120.md): Warehouses use the database plugin, and db_type selects the warehouse. plugin only accepts http_api, database, csv_file and webhook. Snowflake authenticates… - [One live Postgres table holds rows for several of our tenants](https://forum.supero.dev/t/one-live-postgres-table-holds-rows-for-several-of-our-tenants-1121.md): Give that table a tenant_binding in column mode, inside its live block, mapping each Supero tenant name to its value in the source: Every read and write on… ## Deploy, Domains & Go Live - [How long a preview lasts](https://forum.supero.dev/t/how-long-a-preview-lasts-1062.md): A preview lasts 30 minutes from when it becomes reachable. Traffic doesn't extend it. Cleanup runs every 15 minutes, so a preview goes away 30 to 45 minutes… - [Custom domain stuck on "Waiting for ownership check"](https://forum.supero.dev/t/custom-domain-stuck-on-waiting-for-ownership-check-1063.md): Two records are needed: TXT _supero-verify.www with the value supero-domain-verify=… from the console CNAME www pointing to cd-origin.supero.live Enter only… - [Custom domain on Cloudflare: SSL pending or redirect loop](https://forum.supero.dev/t/custom-domain-on-cloudflare-ssl-pending-or-redirect-loop-1064.md): Set the www CNAME to DNS only (grey cloud). If you use CAA records, allow letsencrypt.org, pki.goog and ssl.com. Serve www.yourbrand.com and redirect the root… - [Preparing demo accounts for go-live](https://forum.supero.dev/t/preparing-demo-accounts-for-go-live-1065.md): Go Live deployments don't get the demo sign-in buttons; previews do. The seeded demo admin is a full tenant_admin account, so create your own admin first and… - [Polling after Go Live only ever shows the preview](https://forum.supero.dev/t/polling-after-go-live-only-ever-shows-the-preview-1087.md): The bare project path reports the preview lane. The preview and the published app are two separate services, each with its own status. Poll the poll_url… - [First request to the live app after a quiet period is slow](https://forum.supero.dev/t/first-request-to-the-live-app-after-a-quiet-period-is-slow-1088.md): This is expected. A published app scales to zero when it's idle, so the first request after a quiet period starts the container again. Previews behave… - [Does Take offline delete our data?](https://forum.supero.dev/t/does-take-offline-delete-our-data-1089.md): No. Take offline deletes the live service, so the app stops answering and the service stops running. It also clears the project's live URL, de-lists the app… - ["already attached to another project" when adding a custom domain](https://forum.supero.dev/t/already-attached-to-another-project-when-adding-a-custom-domain-1090.md): A custom domain can only be connected to one project at a time. If the other project is yours, open its Settings tab, remove the domain under Custom domain… ## Plans & Account - [Going live from a Trial](https://forum.supero.dev/t/going-live-from-a-trial-1066.md): Trial includes previews (one running preview per project) but not Go Live, which needs a paid plan. The API returns 402 with meter servers. You can still… - [Do Power credit packs expire?](https://forum.supero.dev/t/do-power-credit-packs-expire-1067.md): No. Packs are one-time purchases that roll over, and they're used when your monthly Power runs out. Only the domain admin can buy them. Pack sizes and prices… - [What happens if our card payment fails?](https://forum.supero.dev/t/what-happens-if-our-card-payment-fails-1070.md): Your paid plan's limits stay in place for a short grace period of a few days, so a single failed charge doesn't cut you off. If it isn't sorted by then, the… - [A teammate can't change the plan or buy Power credits](https://forum.supero.dev/t/a-teammate-cant-change-the-plan-or-buy-power-credits-1083.md): Only a domain_admin can change the plan, buy Power credit packs or manage add-ons. You do all three from the Billing section at app.supero.dev. The account… - [What uses Power, and does storage count against it?](https://forum.supero.dev/t/what-uses-power-and-does-storage-count-against-it-1084.md): Power is the single usage currency for activity across the platform: API requests, app generations, AI-agent prompts, connector runs and app deployments.… - [Adding tenant capacity without changing plans](https://forum.supero.dev/t/adding-tenant-capacity-without-changing-plans-1085.md): Not necessarily. The Multi-tenancy add-on adds tenant slots on top of your plan's baseline. It's sold in blocks that you can stack, and you can buy it on any… - [Is a custom domain a paid add-on?](https://forum.supero.dev/t/is-a-custom-domain-a-paid-add-on-1086.md): No. A custom domain is included in every plan, so there's nothing to buy, and you don't need a licence key, an API key or an add-on. The requirement is that… ## Agencies & Freelancers - [Client wants the app hosted in their own AWS or GCP account](https://forum.supero.dev/t/client-wants-the-app-hosted-in-their-own-aws-or-gcp-account-1091.md): Yes. When you click Go Live, choose Amazon AWS or Google Cloud instead of Supero Cloud. The client's account runs only the app's UI container: ECS Express… - [Giving a client their source code and data](https://forum.supero.dev/t/giving-a-client-their-source-code-and-data-1092.md): The source is a folder of readable Python and JavaScript files (schemas.py, ui_schemas.py, setup.py, config.py, ui/app.js, the run scripts). You can hand it… - [Client staff need admin access to their app, but not to billing or our other clients](https://forum.supero.dev/t/client-staff-need-admin-access-to-their-app-but-not-to-billing-or-our-1093.md): Make them a project_admin in that client's project. A project_admin manages every tenant in its own project and handles schema management, but can't see other… ## Architecture & Patterns - [Modelling a many-to-many relation (students and courses)](https://forum.supero.dev/t/modelling-a-many-to-many-relation-students-and-courses-1122.md): Don't add uuid fields to express a relationship. Declare it in references[] on one side with cardinality many and a reverse name: The platform manages the… - [Workflow or transactional service for what happens after a booking?](https://forum.supero.dev/t/workflow-or-transactional-service-for-what-happens-after-a-booking-1123.md): Use both, for different parts. The booking itself is a transactional service: extend booking:base_booking and change the booking's state by calling its… - [Keeping Stripe and SendGrid keys out of the frontend](https://forum.supero.dev/t/keeping-stripe-and-sendgrid-keys-out-of-the-frontend-1124.md): Provider credentials belong in the service's config on the platform, not in your app's files. Set them with PUT /api/v1/services/{service_id}/config (the… - [Our Postgres stays the system of record: connect it or migrate it?](https://forum.supero.dev/t/our-postgres-stays-the-system-of-record-connect-it-or-migrate-it-1125.md): When another system remains the writer of record, connect rather than migrate. Register the tables through a connector and they become schemas in your… ## Building with AI - [The model names the image field `cover_photo`, `image` or `photo`](https://forum.supero.dev/t/the-model-names-the-image-field-cover-photo-image-or-photo-1137.md): Not when the base declares them as aliases. A base type can say that one attribute answers to several names: the canonical primary_image answers to eight,… - [Generated schema extends a base but inherits nothing](https://forum.supero.dev/t/generated-schema-extends-a-base-but-inherits-nothing-1138.md): Qualify the reference. Platform bases are named ":base_", for example "cart:base_cart". An unqualified extends is looked up in the schema's own… - [Catching browser-computed prices in AI-written checkout code](https://forum.supero.dev/t/catching-browser-computed-prices-in-ai-written-checkout-code-1139.md): Run the two checks the MCP server provides for this, before going live: build_audit is a static audit of the bundle; your code isn't run. It finds… - [Getting a coding agent to use order operations instead of writing `status`](https://forum.supero.dev/t/getting-a-coding-agent-to-use-order-operations-instead-of-writing-stat-1140.md): Have the agent call build_get_service_contract for each transactional service the app extends, before it writes UI for it. It returns the real state machine,…