LogoKikoMart Docs

Troubleshooting

Fixes for the most common setup problems.

Products or categories don't appear in the app#

  • Check that the database seeding script finished successfully.
  • Check that the database ID and table IDs in appwrite_config.dart exactly match your Appwrite Console.
  • Check that the database tables grant Read permission to Any or All users.

Images don't load or return 401 Unauthorized#

Open Appwrite Console → Storage → images → Settings → Security and make sure:

  • Any has Read permission.
  • All users have Create, Read and Update permissions.

See Create the storage bucket.

"Access denied" or CORS errors on the web#

Add every web domain under Integrations & Platforms → Add Platform → Web, without https:// and without a trailing slash. See Register Platforms.

Push notifications don't arrive on phones#

  • Check that google-services.json (Android) or GoogleService-Info.plist (iOS) is in the right folder of each app.
  • Check that the Service Account JSON in Appwrite → Messaging → Providers belongs to the same Firebase project.

See Push Notifications.

New order sound or popup doesn't play in the Store App#

  • Check that the device allows audio and background sound playback for the app.
  • Check that the app's Appwrite Realtime connection is active and listening to the orders table.

"Null cast" error when the app starts#

One or more values in appwrite_config.dart (such as projectId, databaseId or a topic ID) are empty or still placeholders. Fill in every value with the real ID from your Appwrite Console.

Still stuck?#

Check the FAQ, then contact support with a description of the problem, the app and platform affected, and any error messages.