RaiCentral

Docs / Reference

Troubleshooting

Common problems when installing and integrating.

SymptomCause and fix
First sign-in on a new database returns 401The development administrator is created by the first protected call. Run curl <api-base>/v1/auth/me once, then sign in. In production use rai-gateway admin create
Compose says to set POSTGRES_PASSWORDCreate .env from the example file
Password rejected after changing POSTGRES_PASSWORDPostgreSQL applies it only when the volume is created. Change it inside the database as well
API exits in productionInsecure settings are refused. Read docker compose logs rai-gateway
RESOURCE_OUT_OF_SCOPE for a registered toolDeclare the tool on the agent version and check the identity is bound to that version
Every action requires approvalThe tool is consequential, or the version is HIGH or CRITICAL risk
A rule never matchesCheck parameter_path, value_type, and for MCP tools the server scoping
Approved action is held againParameters changed, the approval expired, or it was already used
SDK session already endedUse a new external_session_id for each turn
Webhooks and alerts never arriveStart the runtime events worker
Example tools cannot be reachedFrom Docker use host.docker.internal. On Linux also set the bind address
ERR_PACKAGE_PATH_NOT_EXPORTEDLoad the TypeScript SDK with require or createRequire
AI features say not configuredSet RAI_AI_PROVIDER, RAI_AI_MODEL and a credential, then restart

Report problems at github.com/ztechnium/raicentral/issues. Report security issues privately, as described in the repository's SECURITY.md.