Skip to main content

Troubleshooting

Use this page when a Cocoding AI workflow does not behave as expected.

Cocoding AI terminal output panel used for troubleshooting
Terminal output is usually the fastest place to find build or runtime errors.
Cocoding AI preview panel used to verify fixes
Always retest the preview after a generated fix.

Sign-in problems

SymptomWhat to try
Password field does not appearSubmit the email again and wait a few seconds.
Invalid credentialsConfirm email and password, then try password reset if available.
Social login returns to the wrong pageTry email login and report the provider name and time.
Activation requiredComplete email verification before retrying.

Generation problems

SymptomWhat to try
Generate button stays disabledAdd a non-empty prompt and check usage limits.
Project opens with empty previewWait for generation, then check terminal output.
Assistant result is too broadSplit the request into smaller prompts.
Wrong feature was builtName the exact screen and desired behavior in a follow-up prompt.

Preview problems

  • Refresh preview from the toolbar.
  • Switch between Code and Preview.
  • Check terminal output for build errors.
  • Ask the assistant to fix the specific error.
  • Test again after the assistant applies changes.

Terminal-first debugging

When the preview fails, collect only the useful error:

  1. Open Output or Terminal.
  2. Find the first error after the latest generation step.
  3. Copy the error message without secrets.
  4. Send it to the assistant with the screen that failed.
  5. Ask for one focused fix.
The preview is blank on the customer booking page.
The terminal shows this error:
[paste relevant error]
Fix the root cause without changing unrelated pages.

Database problems

  • Confirm host, port, database, username, and password.
  • Use a test PostgreSQL database first.
  • Ask the assistant to create or migrate the schema.
  • Refresh the database explorer after schema changes.

Integration problems

SymptomWhat to try
Payment completes but app state does not updateCheck webhook URL, signing secret, and local subscription/order status fields.
Slack or WhatsApp messages do not sendConfirm provider credentials are server-side and test mode recipients are approved.
OpenAI responses are empty or too expensiveCheck model, budget limits, and whether the prompt sends enough context.
Supabase or external database returns permission errorsReview API keys, Row Level Security, and table policies.
OAuth redirect failsConfirm provider callback URL and app environment URL match exactly.

Billing problems

  • Confirm plan, billing interval, and selected credits.
  • Check whether you already have an active subscription.
  • Retry with a different payment method if the provider declines the card.

What to include when asking for help

  • The project name or safe project identifier.
  • The screen or workflow.
  • The action you took.
  • The expected result.
  • The actual result.
  • A cropped screenshot if it helps.
  • The relevant terminal or browser error, with secrets removed.