Todd Matthews
11/04/2025, 2:53 AMkapa.ai
11/04/2025, 2:53 AMRUN_DATABASE_MIGRATION_ON_STARTUP environment variable is set incorrectly. 2. NullPointerException in API: There's a known issue where the [API returns NullPointerException](https://github.com/airbytehq/airbyte/issues/37092) when calling /v1/workspaces endpoint, which can result in empty responses even when workspaces exist in the database. 3. Missing Default Workspace: In some cases, Airbyte may be looking for a default workspace with UUID 00000000-0000-0000-0000-000000000000 that doesn't exist, as mentioned in this [GitHub issue](https://github.com/airbytehq/airbyte/issues/59196). ## Recommended Solutions 1. Check Database Migrations: Ensure your docker-compose.yml and environment variables are up to date. According to the forum post, removing or properly configuring the RUN_DATABASE_MIGRATION_ON_STARTUP environment variable can resolve the issue. 2. Verify Database Schema: Check if the workspace table exists in your database with the correct schema as documented in the [workspace table structure](https://docs.airbyte.com/platform/understanding-airbyte/database-data-catalog#workspace). 3. Check API Parameters: When using the API to list workspaces, ensure you're using the correct parameters. The [listWorkspaces endpoint](https://reference.airbyte.com/reference/start) accepts optional parameters like workspaceIds, includeDeleted, limit, and offset. If you're still experiencing issues after checking these items, I'd recommend verifying that your Airbyte version is up to date and that all database migrations have completed successfully.Todd Matthews
11/04/2025, 3:07 AMkapa.ai
11/04/2025, 3:07 AMkapa.ai
11/04/2025, 3:07 AMTodd Matthews
11/04/2025, 3:25 AMkapa.ai
11/04/2025, 3:25 AMkapa.ai
11/04/2025, 3:26 AM