Troubleshooting & errors

Find fast, symptom-first fixes for build crashes, sign-in errors, DNS delays, Stripe checkout mismatches, Android installs, and slow pages.

How to triage any issue quickly

Every error originates in one of four boundaries: your Preview build, your Live runtime, an external provider (DNS registrar, Stripe, or Google Play Console), or a visitor's browser. Identifying which layer failed first saves credits and avoids blind rewrites.

If Live is already affected for real visitors, roll back to the previous stable release immediately from Publish history, then reproduce and fix the issue safely in Preview.

Build and Preview crashes

Build failures usually follow a multi-file edit, a renamed database column, or an incompatible package update.

SymptomLikely causeExact fix
Red error banner or blank PreviewCompile error, missing import, or runtime crash in a recent editClick Ask AI to fix on the banner so the Agent reads the exact log
Ask AI to fix repeats the same error twiceConflicting changes accumulated across recent turnsClick Undo back to the last green checkpoint and split the request smaller
Preview fails after a schema renameUI form or API route still references the old field nameAsk the Agent to align queries, forms, and Cloud fields to the new schema
Preview works but Publish build failsProduction type check or server bundle error caught at deployClick Ask AI to fix in Publish settings; re-publish once green

When to use Ask AI to fix vs Undo

  • Use Ask AI to fix when the banner shows a concrete syntax, import, type, or deploy log error after a desirable edit.
  • Use Undo immediately if two fix attempts stall or an experimental redesign broke working screens. See Working with the Agent.

Sign-in and role-permission errors

Authentication failures almost always trace to Preview vs Live isolation, OAuth callbacks, or frontend-only role checks.

SymptomLikely causeExact fix
OAuth redirect error after custom domainProvider callback still points only to .exaspark.appRe-verify your custom domain and confirm OAuth callback URLs match Live
Preview account cannot sign into LivePreview and Live maintain separate user directoriesRegister a fresh user on Live; Preview accounts never copy automatically
Admin sees "Access denied"Account lacks the admin role in the active environmentOpen Cloud for that environment and set your user's role to admin
Member views admin pages or others' dataCheck exists only in UI instead of server routesAsk the Agent to enforce server-side role and owner checks on every endpoint
Verification email never arrivesMissing custom sender DNS records or Free 100/mo cap hitCheck spam, verify DNS in Branded email, and check plan quota

Custom domain DNS and SSL issues

Domain verification and automatic TLS issuance require clean, non-conflicting DNS records at your registrar.

SymptomLikely causeExact fix
Verification stuck over 30 minutesRegistrar proxy (such as Cloudflare orange cloud) or record typoSwitch the record to DNS-only, confirm exact A or CNAME values, and click Verify
www works, root domain failsMissing apex (@) record or leftover parked-page recordDelete stale A or AAAA records on @, keep only ExaSpark records, and re-verify
Browser warns "Not private"Automatic SSL certificate is still issuingWait 5–15 minutes after DNS verifies, then reload in a private window
Old website still loadsHigh registrar TTL (for example 24 hours) or cached local DNSWait for TTL expiry and verify live global records via terminal lookup

Run a fast lookup to confirm what public resolvers return and spot leftover AAAA or conflicting A records:

text
DNS Quick Check Commands
- Apex A record:       dig +short A yourdomain.com
- www CNAME record:    dig +short CNAME www.yourdomain.com
- Conflicting IPv6:    dig +short AAAA yourdomain.com
- Windows lookup:      nslookup -type=A yourdomain.com

Remove any stale IP address that does not match your Publish settings. See Custom domains & DNS.

Stripe checkout and subscription issues

Payment mismatches usually occur during the switch from Test mode to Live mode or when webhook handlers miss lifecycle events.

SymptomLikely causeExact fix
Card charged, app stays lockedWebhook handler failed or missed user metadataCheck Stripe webhook delivery logs and API errors in Analytics, then patch in Preview
Real card rejected with test-mode errorLive app still runs Stripe Test modeToggle payments to Live mode and click Publish
Canceled plan stays active in appApp listens for checkout completion but not cancellation eventsAsk the Agent to handle customer.subscription.deleted and updated webhooks
Checkout shows wrong price or currencyOld Stripe Price ID still referenced in checkout actionUpdate Stripe pricing and bind the exact live Price ID in chat

Verify one real low-value transaction after switching to Live mode, confirm the database row and receipt email, and then refund it. See Testing Stripe & webhooks.

Android QR install and Play Console warnings

Mobile packaging involves Android device permissions and Google Play Console metadata validation.

SymptomLikely causeExact fix
Android blocks browser APK installBrowser lacks permission to install packagesTap Settings, enable Install unknown apps for Chrome, and retry
QR install opens an older versionQR points to an earlier package before your latest editsRebuild the Android package after publishing and scan the new QR code
Play Console rejects `.aab` version codeUpload reuses a previously submitted versionCodeBump the Android build version, export a new signed .aab on Starter or Pro, and re-upload
Play Console flags privacy or Data SafetyMissing live Privacy Policy URL or mismatched Data Safety answersPublish a live Privacy Policy page and align Data Safety with sign-in and Stripe flows
iPhone user cannot open Android QRAPK builds install on Android devices onlyTell iPhone users to open your live link in Safari, tap Share, then Add to Home Screen

See Android QR install and Publish to Google Play for full mobile steps.

Slow pages and missing uploaded images

Media sizing, file-storage access rules, and unpaginated queries explain most live asset and latency problems.

SymptomLikely causeExact fix
Slow mobile homepage or catalogOversized raw photo uploads or unpaginated initial listCompress hero imagery, generate right-sized assets in Creative Studio, and lazy-load lower rows
Uploaded image returns broken icon or 403Private file-storage rule blocks public visitor readsMark public catalog images public-read while keeping private uploads role-scoped
Admin dashboard lags as rows growQuery loads entire table without pagination or indexesAdd server-side pagination (20 rows/page) and indexes on filtered columns
Old logo still displays after updateBrowser cached the prior asset under the same filenameUpload under a fresh asset reference and hard-refresh after publishing

Writing a high-signal bug report prompt

Vague messages like "checkout is broken" burn turns guessing. Paste four concrete lines so the Agent isolates the root cause immediately:

text
Bug Report Template
- Route & environment: /pricing -> /checkout on Live (reproduced in Preview)
- User state: Signed in as standard Member (non-admin)
- Steps: Click "Join Monthly", complete Stripe Test card 4242, open /account
- Observed vs expected: /account stays "Free tier" instead of "Active Member"
Starter prompt · App

On /account after completing Stripe Test checkout for the $9/month membership, payment succeeds and redirects back, but membership_status in Cloud stays "free". Inspect the Stripe webhook handler, verify user_id metadata on the checkout session, and update membership_status on checkout.session.completed.

Next steps

Still have a question?Ask our team and other builders on Discord.

From the blog