Troubleshooting
The errors we met while building Room Booking and Baan Rim Nam with AI on Tanqory's test environment, what each one means, and the fix.
Every problem on this page happened while we built the two examples. The message is quoted as it appeared.
Connecting an AI tool
"stdin isn't a terminal, so authentication can't be completed here"
claude mcp login was run from a script or a tool that is not a terminal window. Run it yourself in a terminal. If the browser that signs you in is on another machine, wait for Or paste the redirect URL here, then paste the address the browser ends on (it starts with http://localhost and may show as an error page there).
The AI does not see tools such as create_page or set_store_policy
The connection was made before those tools were offered to it, so the store never approved their access. Sign in again to approve the full list: in Claude Code, claude mcp logout tanqory, then claude mcp login tanqory. In Claude or ChatGPT, disconnect the Tanqory connector and connect it again. Connect ... to Tanqory then lists, among others, "Create and edit pages and blog posts".
The assistant says it must reconnect before it can add products, pages or posts
The connection was approved before those tools existed. Disconnect the Tanqory connector and connect it again, approving the full list.
The assistant says it cannot change the store's name or logo, or turn off the store password
The connection was approved before those tools existed, so it lacks their access. Disconnect the Tanqory connector and connect it again, approving the full list, and upload the Skill again. On a development store the password always stays on: change the password itself in Online Store > Preferences.
The tanqory-partner command line
npm says "404 Not Found ... npm.pkg.github.com/@tanqory/partner-cli"
Your npm settings send @tanqory packages to another registry. Install from the public one:
npm install -g @tanqory/partner-cli@next --registry https://registry.npmjs.org/The same applies to npm install inside a new theme folder: the theme's packages are on the public registry.
theme check says "ingest_gate: this.getResponse is not a function"
There is a file at the top of the theme folder that the check does not allow, such as .npmrc. Remove it and run the check again; it then reads passed ingest_gate: starter layout. The message itself is a bug in the command line that hides the real reason; it is on Tanqory's list.
The preview link says "This preview link has expired or can't be opened here"
A preview link opens once, in the first browser that opens it. Choose Open preview on the version in the partner dashboard again: every click gets a new link. Or run tanqory-partner theme status <version id> for one.
Submit for review answers "Enter the documentation URL."
Open the theme's Listing, fill in Documentation with an https page about the theme, select Save listing, then submit again.
Publish says "A theme you built can be published only on a development store"
A theme you uploaded as a partner installs on your development store as a draft. Publish it on that store (Online Store, Themes, the theme's menu, Publish), signed in as a member of the store. It is refused on any store that is not a development store, for example one already handed to a merchant, and through an AI assistant acting for you.
Appwrite
The setup script waits and never finishes
The API key can create tables and columns but not read them back, so the script waits for a column it cannot see. Give the key read as well as write for databases, tables, columns and indexes. The deploy key of a project Tanqory set up for its own app teams has had these since 2026-11-15, together with rows, documents, functions and their executions, and storage buckets and files, all inside that one project.
Adding a function variable answers "Param "variableId" is not optional."
This Appwrite version needs an id for each variable. In the console it is filled for you; through the API, send variableId (for example tanqory-client-secret).
The app's address answers "rule_not_found"
The address is not attached to the function yet. Add it under Functions, your function, Domains, and give it a minute.
The app on the store
The booking box gets the theme's "not found" page from /apps/rooms/...
The store installed the app without the write_app_proxy scope, so Tanqory does not forward the path to it. Two things must both be true: the scope is in Configuration, Access scopes, and the install asks for it in its scope list. Fix the app, then open /auth/start?store_id=... again: the store approves the extra access with Allow access.
The booking box does not show on the room page
The box is an app block, so the merchant places it; nothing appears until they do. Check, in this order:
- The block is on the page. In the theme editor, open a room's product page; the product details section lists Room booking box among its blocks. If not, select Add block, the Apps tab and Room booking box, then save.
- The section takes app blocks. Add block shows an Apps tab only in a section that accepts app blocks. In Tanqory's Nova theme that is product details, rich text, group and stack, never the header or footer.
- The app is installed on that store and its latest version has the block (Extensions in the partner dashboard).
- The script registered the block. The browser console names an error from
mount, orregisterwas called with another handle than the block's (booking-box).
A changed script or stylesheet reaches stores only when it is uploaded again in Extensions: each file is kept with the version under its own hash, so there is no old copy to wait out.
After approving the plan, the merchant lands on the store's home page
The app's return address after billing points nowhere in particular. Send it back into the app: https://admin.tanqory.com/admin/store/<store id>/apps/<app handle>.
The app lists every product as a room type
Filter on something the merchant controls. Room Booking shows only products whose product type is Room.
A booking from an order shows the email address as the guest's name
The order had no customer name. Use the customer's first and last name, then the billing address name, and the email only when the order has no name.
Secrets
"This app has two secrets. Revoke the old one first"
After a rotation the old secret keeps working beside the new one until it is revoked, and a third rotation is refused. Tanqory keeps signing webhooks and app proxy requests with the old secret until then, so an app that has not switched yet still verifies them. Put the new secret in your server's settings, push the server, then open the app's Home and select Revoke old secret. From that moment only the new secret works, access tokens issued with the old one stop working, and signatures use the new one. Through the Partner API the same step is the partnerAppPreviousSecretRevoke mutation. If a secret has leaked, rotate and revoke at once: the new one is the only one your server should use.
A secret showed up in a log or a chat
Rotate it at once (Home, Rotate secret), put the new one in your server's settings, push the server again, then select Revoke old secret so the leaked one stops working. Never pass a secret on a command line where an error message could print it.