How to read this page
Each row is a message or symptom the code produces, and what to change. If your message is not here, check the application log and the error text in the JSON reply.
Starting and signing in
| Symptom | Cause and fix |
| Opening the home page shows the setup wizard again | Setup is complete only when the database file exists and at least one administrator exists. Finish the wizard or restore the database. |
| The app starts in development mode | DEBUG defaults to true. Set DEBUG=false. |
| Changes to .env do nothing | Only the variables listed on the Configuration page are read. SECRET_KEY, DATABASE_URI, FLASK_ENV and similar are ignored. Edit config/mlstudio_config.json. |
| Port already in use | Start with --port <number> or set PORT. |
| Too many sign in attempts | Sign in is limited to 5 per minute and registration to 3 per minute. Wait a minute. |
| API reply 401 | The route needs you to be signed in. Send X-API-Key, or sign in. |
| API reply 403 on a project | Only the owner or an administrator can read it. Ask the owner to add you as a collaborator. |
Projects
| Symptom | Cause and fix |
| Creating a project returns 400 | The project name already exists. Names are unique across the installation. |
| Create project with dataset returns 429 | You created a project less than 5 seconds ago. Wait and retry. |
| A deleted project's folder is still there | Delete removes database records and workflows, not the folder or the virtual environment. |
| A package cannot be uninstalled | pip, setuptools and wheel are protected. |
Files and datasets
| Message | Cause and fix |
| Tabular data support is unavailable in the current Python environment | pandas cannot be loaded in the environment. Install or repair pandas there. |
| Kaggle not configured (503) | No administrator Kaggle credentials. Add them on the dataset marketplace admin page or set KAGGLE_USERNAME and KAGGLE_API_KEY. |
| A path is rejected | Paths containing .. are refused. |
| Uploaded file has a different name | Names are made safe, and a duplicate gets _1 added. |
Workflows and runs
| Message | Cause and fix |
| Run start returns 400 with preflight details | The preflight check failed. Fix the listed nodes, then run again. |
| Run mode refused | Only mode full runs. Debug, from_node, node, from_node_id and breakpoints are not accepted. |
| Workflow has no generated code (400) | Webhook and schedule starts need generated code. Save and generate code in the editor first. |
| Webhook token returns 404 | The token is unknown or was revoked or rotated. Create a new one. |
| Schedule never fires | APScheduler is missing, or the app was not running at that time. |
| A template workflow lands in the wrong project | Pass project_id when using a template through the API. Without it the first project in the database is used. |
| Experiment stays running | A status read marks a run failed after 2 hours. An administrator can call POST /api/v1/experiments/cleanup-stuck to fail runs older than 1 hour. |
| Cancel returns success false | The experiment is not running. |
Connections
| Message | Cause and fix |
| Local/private hosts are blocked for security | The target is on localhost or a private network. If that is intended, set the matching *_ALLOW_PRIVATE_NETWORK variable to 1. |
| MLServer calls fail | Check ml_server_url. The code default port is 6000 but MLServer listens on 5008 by default. |
| Stored secrets cannot be read after a restore | The encryption key changed. Restore the saved key. |
| Community joins fail | Check COMMUNITY_URL and COMMUNITY_API_KEY, and the private network switch if it is local. |
MLServer
| Code | Cause and fix |
| BUNDLE_MISSING_SCRIPT | The bundle ZIP has no scoring_script.py. |
| BUNDLE_TOO_LARGE | Larger than max_bundle_size_mb (default 500). |
| MODEL_NOT_ACTIVE (409) | The model is not active. It may still be building, awaiting approval, rejected or retired. |
| MODEL_CIRCUIT_OPEN (503) | The model failed repeatedly. Wait for retry_after seconds, then fix the model. |
| INSUFFICIENT_ROLE, MODEL_SCOPE_ERROR | The token's role or model scope is too narrow. A developer can create only consumer tokens. |
| TOKEN_EXPIRED | Sign in again or create a new token. |
| Server will not start in production | secret_key in files without MLSERVER_SECRET_KEY. Set the variable. |