Skip to main content
This page is part of an AI coding agent skill and is written for agents, not humans. For the human-readable Base44 docs, see the developer documentation.

Troubleshoot Production Issues

Prerequisites

Verify authentication before fetching logs:
If not authenticated or token expired, instruct user to run npx base44 login. Resolve app context in one of these ways:

Available Commands

Troubleshooting Flow

1. Check Recent Errors

Start by pulling the latest errors across all functions:

2. Drill Into a Specific Function

If you know which function is failing:
If you are outside the project directory, pass the app explicitly:

3. Inspect a Time Range

Correlate with user-reported issue timestamps:

4. Analyze the Logs

  • Look for stack traces and error messages in the output
  • Check timestamps to correlate with user-reported issues
  • Use --limit to fetch more entries if the default 50 isn’t enough