alicehasnoidea/docs
WebsiteLog inGet Started Free
Reference

Error Codes

Complete reference of alice error codes with causes, fixes, and troubleshooting links

Error Codes

Every error in alice includes a machine-readable error code. You will see these in Slack error responses, dashboard log entries, and scheduled report failure notifications.

Slack & Command Errors

CodeMessageCauseFix
SLACK_NOT_INSTALLEDSlack bot not installedThe alice bot has not been added to your workspaceInstall from Settings > Workspace. See Slack Not Responding.
SKILL_NOT_FOUNDUnknown commandNo skill matches the slug you typedRun /alice help to see available skills. Check for typos.
COMMAND_PARSE_ERRORCould not parse commandInvalid flag syntax in the commandUse --key=value format. Run /alice skill --help for valid parameters.
INVALID_PARAMETERInvalid parameter valueA parameter value does not match the expected typeCheck parameter types with --help. Example: --days expects a number.
MISSING_PARAMETERRequired parameter missingA required parameter was not providedRun /alice skill --help to see required parameters.

Source Connection Errors

CodeMessageCauseFix
NO_SOURCESNo sources connectedNo data sources are connected to the workspaceConnect Stripe or Connect Supabase.
SOURCE_NOT_FOUNDSource not foundThe skill references a source that no longer existsEdit the skill and select a valid source.
SOURCE_AUTH_EXPIREDSource credentials expiredThe OAuth token for a source has expired or been revokedGo to Dashboard > Sources and click Reconnect.
SOURCE_CONNECTION_FAILEDCannot connect to sourceThe source service is unreachable (outage or network issue)Check Stripe Status or Supabase Status. Retry in a few minutes.
SOURCE_OAUTH_FAILEDOAuth authorization failedThe OAuth flow was interrupted or deniedRetry the connection from Dashboard > Sources. Use a non-incognito browser window.
SOURCE_ALREADY_CONNECTEDSource already connectedA source of this type is already connectedEach workspace has one connection per source type. See Sources.

Query Execution Errors

CodeMessageCauseFix
QUERY_SYNTAX_ERRORSQL syntax errorThe Raw SQL query has a syntax errorCheck the query in the skill builder Test panel.
QUERY_TIMEOUTQuery execution timed outThe query took longer than the 30-second limitAdd filters, reduce the date range, or add a LIMIT clause.
QUERY_WRITE_REJECTEDWrite operation rejectedThe query contains a non-SELECT statementAll queries must be read-only. Remove INSERT, UPDATE, DELETE, or DROP statements.
TABLE_NOT_FOUNDTable does not existThe query references a table that does not exist in the databaseCheck the table name in the Supabase Dashboard.
COLUMN_NOT_FOUNDColumn does not existThe query references a column that does not existCheck column names in the Supabase Table Editor.
JOIN_KEY_MISMATCHCombined query join failedThe join key field does not exist in one of the source resultsVerify that both source queries return the join key field. See Combined Queries.
STRIPE_API_ERRORStripe API returned an errorThe Stripe API rejected the requestCheck the detailed error in Dashboard > Logs. May indicate permission issues or invalid parameters.

Rate Limit & Plan Errors

CodeMessageCauseFix
RATE_LIMITEDToo many requestsExceeded the per-hour execution limitWait a few minutes. Default: 30 executions/hour. See Limits.
QUERY_LIMIT_EXCEEDEDMonthly query limit reachedExceeded the monthly query limit (Free plan: 50 hard limit)Upgrade to Pro or wait for the next billing cycle.
FEATURE_NOT_AVAILABLEFeature requires upgradeThe feature is not available on your current planCheck Plans for feature availability.
SKILL_LIMIT_REACHEDSkill limit reachedCannot create more skills on current planDelete unused skills or upgrade.
SOURCE_LIMIT_REACHEDSource limit reachedCannot connect more sources on current planFree allows 1 source, Pro allows 3. Upgrade.
MONITOR_LIMIT_REACHEDMonitor limit reachedCannot create more monitors on current planFree allows 3, Pro allows 25. Upgrade.

Permission Errors

CodeMessageCauseFix
PERMISSION_DENIEDInsufficient roleYour role does not allow this actionSee Permission Denied for role requirements.
ADMIN_REQUIREDAdmin role requiredAction requires admin or owner roleAsk your workspace owner to promote you.
OWNER_REQUIREDOwner role requiredAction requires owner role (billing, org deletion)Only the workspace owner can perform this action.

Scheduled Report & Monitor Errors

CodeMessageCauseFix
CHANNEL_NOT_FOUNDSlack channel not foundThe target channel was deleted or renamedUpdate the channel in the skill's trigger configuration.
CHANNEL_NOT_MEMBERBot not in channelalice is not a member of the target channelType /invite @alice in the channel. See Scheduled Report Missing.
SCHEDULE_INVALIDInvalid cron expressionThe cron expression is malformedCheck the syntax. Use presets in the Schedule step or validate at crontab.guru.
MONITOR_COOLDOWNAlert suppressed by cooldownThe condition was met but the cooldown period has not elapsedThis is expected behavior. Adjust cooldown in the Trigger step if needed.

Action Errors

CodeMessageCauseFix
ACTION_FAILEDAction execution failedThe underlying API call failed (e.g., Stripe tag)Check Dashboard > Logs for the detailed error. The source may need reconnecting.
ACTION_NOT_AVAILABLEActions not available on planActions require the Pro plan or higherUpgrade to Pro.
ACTION_TARGET_NOT_FOUNDTarget entity not foundThe customer, user, or entity no longer existsThe data may have changed since the query ran. Re-run the skill for fresh results.

Reading Error Codes in Logs

Every skill and action execution in Dashboard > Logs includes:

  • Status -- success or error
  • Error code -- The machine-readable code from this page
  • Error message -- A human-readable description
  • Duration -- How long the execution ran before failing
  • Source -- Which source was being queried when the error occurred

Use the log filters to find errors: filter by status error and optionally by skill name or date range.

Was this page helpful?

On this page