Account and reference · Chapter 31

Troubleshooting

Most problems are found and fixed by Chirai before you see them. When something still isn't right, start here.

TipPrefer to watch? The Chirai error guide has a one-minute video for each of the ten most common problems.

The preview says "Build failed"

Chirai repairs most failures itself: its own repair first (in milliseconds, no AI), then AI repair for what's left. If the preview still fails:

  1. Press Fix with IILA. It reads the error and repairs the file.
  2. If that doesn't work, press Build again from where it stopped.
  3. Still failing? Email support-note@chirai.dev with the error message and your app's name.

The preview takes a long time to open

The first time each page opens in the preview it's prepared on the spot, which can take a few seconds. It's fast after that, and the live site is always fast.

IILA says it can't make a change

  • "This is one of Chirai's own pages": shop, product, cart, checkout and account pages are built to work with your data. Change products and prices in Manage site; ask IILA only for styling (colours, spacing, fonts) on these pages.
  • The change touches many pages: ask for one page at a time, naming the page ("on the About page…").

A page shows a database error or an empty list

  • Empty list: there are no records yet, or they're all sample records you deleted. Add some in Manage site.
  • "Please sign in first": the page saves something that belongs to a person. Sign in, then try.
  • A message like "Description must be at least 20 characters": that's your site's own rule; fill the field as asked.

My domain stays "pending"

  • Check the records exactly match what the Domains page shows (no extra dots, @ for the root).
  • On Cloudflare, set them to DNS only.
  • Records can take a few hours to spread. Chirai checks every 10 minutes for two weeks. Press Check now to check immediately.

Payments don't work

  • Use test keys and a test card first; switch to live keys for real customers.
  • Razorpay: make sure the account is activated for live payments.
  • With your own payment link, orders stay "awaiting payment" until you mark them paid.

Customers don't get emails

Emails sent through Chirai can land in spam. Set up your own sender in Email (Brevo, Gmail with an app password, SendGrid, Mailgun) and send yourself a test.

Google Play or the App Store says something is missing

  • Play: the App content questions (including Data safety) must be answered in Play Console; new personal accounts need a 14-day closed test with 12 testers before production.
  • App Store: App Privacy must be answered in App Store Connect. The build log lists what Apple still needs.

Chirai built something different from what I asked for

Look for "Your request, line by line" in the build's story: it lists what was not built as you asked, for websites, apps and games. From v33.55 your own words and your answers to Chirai's questions are read first by every step, even when your request is long or you pasted a document into it. If you paste an assignment, a brief or notes, add one or two lines of your own saying what you want built: those lines and your answers decide, and the pasted text is treated as background.

From v33.56 the same check runs before any code is written for websites and apps too: the plan (pages, what each is for, what the site stores) is read against your own lines, and anything it left out is given to the writer as a must-have with the page it belongs on. A website's pages are also written one after another now, each with the earlier pages in front of it.

It says "Games are on the Starter plan"

Games are on Starter ($10/month) and above. A game has to play, not just load: Chirai writes yours, a test player plays it in a real browser, and what breaks is fixed before you see it. Starter covers that work, puts your game live at its own link, and backs it with a dev-repair: if it is not the game you asked for, Chirai's own developer repairs it by hand, included. Websites and phone apps can still be tried on Free. A game you built on Free before this change stays in your account and stays playable; changing it needs Starter. See Plans and billing.

My game is not what I asked for

First read "Your request, line by line" in the build's story and ask IILA for what is missing, one line at a time. If that does not put it right, open the game in the Studio, and in the Test Agent panel press Send for dev-repair: say what is wrong and what you expected. Chirai's own developer repairs the game by hand, puts it back in your account and emails you when it is done. Dev-repair is on Starter and above, one for each game.

My app came out grey, or not in the colours I asked for

Name the colours in your description the way you would say them: "orange and black on white", "navy and gold on cream". From v33.54 Chirai keeps to them on every screen and tells you in the build's story if the design step had chosen otherwise. For an app built earlier, run Check app: "Every screen looks right" names the screens where your colour is missing, and IILA can fix them.

My app's cart and checkout show different totals

Apps built from v33.53 have one cart that every screen reads, so the cart, the checkout and the cart badge always agree, and the cart is kept when the app is closed. An app built before that may have screens with their own numbers. Open it and run Check app: the line "Every control works" names the screens. Then ask IILA to fix those screens, or build the app again to get the shared cart everywhere.

A row with an arrow does nothing in my app

The screen it opens is crashing, or the row has no action. Run the Test Agent and press Fix these. Two crashes older apps had ("useSharedValue is not defined", "Svg is not defined") are repaired by Chirai itself the next time the app is checked or changed.

People can't get a sign-in code by text message

Phone sign-in is built when you choose it, but a text message is sent by an SMS service that has to be connected to your app's accounts. Until it is, the sign-in screen says codes aren't switched on yet and offers email sign-in, which works. Write to support to have text-message codes switched on.

Something else

Open ⚙ Manage site → Site check to see what Chirai found on your live site, and use the "Ask anything" box in the Studio's publishing guide for store questions.