Skip to content
BotBaseDocs
PricingDashboardStart free
  • Build AI assistants that know your business
  • Quick start
  • Core concepts
  • Create an account
  • Documents
  • Websites
  • Social media posts
  • How answers are grounded
  • Languages
  • Assistant types and plans
  • Create an assistant
  • Personality and instructions
  • Testing your assistant
  • Conversations
  • Leads, forms and human support
  • Booking agent
  • Email replies
  • AI models
  • Website widget
  • Widget appearance and design
  • Chat link and QR code
  • Connect your business platform
  • CRM lead sync
  • Management Agents overview
  • Integration guide
  • Roles and permissions
  • Security model
  • Server and browser API reference
  • Examples by industry
  • Audit log and troubleshooting
  • Developer API overview
  • API keys
  • Chat API reference
  • Errors and limits
  • Plans and the free trial
  • Billing and payments
  • Emails and notifications
  • Security and privacy
  • Troubleshooting
  • Frequently asked questions
Docs/Management Agents/Audit log and troubleshooting

Audit log and troubleshooting

Read the Management Agent activity log and fix the most common set-up problems.

Management Agents·3 min read·Updated 2 Dec 2026

#The audit log

Management system → Activity and audit log lists every operation the agent ran or refused for signed-in users, newest first. Filter by outcome or by user id.

ColumnMeaning
WhenTime of the event
UserThe user id your server sent (with "(test)" for dashboard tests)
RolesThe user's role keys at that moment
OperationThe operation key
Authorisationallowed, or denied with a reason
Confirmationawaiting, confirmed or empty for lookups
Resultsuccess, failed, uncertain or simulated

Denial reasons:

ReasonMeaning
not_permitted_for_roleThe operation exists but none of the user's roles allow it
unknown_operationThe AI asked for something that is not an operation (often a trick attempt)
permission_revokedThe permission was removed between preparing and confirming
missing_user_contextA bound input needed a user value or attribute your server did not send

Passwords, tokens and request bodies are never stored in the log.

Active sessions shows who is using the assistant now; End revokes a session immediately.

#Troubleshooting

#The Go live button is disabled

Open the checklist at the top of the tab. Common gaps: an operation has not passed its test since you last changed it, the API connection is not live, no role has any operation ticked, or no server key exists yet.

#My server gets 401 invalid_server_key

The key was rotated, mistyped or has spaces. Create a new key and update your server's environment variable. Send it as Authorization: Bearer bbx_mgmt_….

#My server gets 409 app_not_live

Click Go live in the dashboard. Paused agents cannot create sessions.

#The session response shows my role under ignored_roles

The role key does not match any role in Roles and permissions. Compare the keys shown under each role name (for example head_teacher) with what your backend sends.

#The assistant says the user is not allowed to do something they should

Check the role's ticks and that the operation is allowed and tested on the connection. Then look for the event in the audit log: not_permitted_for_role means a role problem, missing_user_context means a missing attribute.

#The widget does not appear or shows "unavailable"

  • Your session route must return JSON {"session_token": "bbxs_…"} to a logged-in browser. Open it in the browser to check.
  • If you set Allowed websites, your page's origin must be listed exactly (scheme and host, for example https://sms.myschool.ac.tz).
  • The agent must be live and active, and the plan must include Management Agents.

#Lookups fail with "could not reach the system"

Use Open connection setup → test on the operation. Check that the API is reachable from the internet over HTTPS, the credentials are current and the response is JSON. Private network addresses are blocked for security.

#A change ran but the user saw "could not confirm"

The request timed out or the network dropped after sending, so the result is uncertain. BotBaseX does not retry automatically. Check your system; use the Idempotency-Key header to make retries safe.

#Users see each other's conversations

They cannot. Conversations are tied to the user id your server sends. If two people share one user id in your system, give each person their own id.

PreviousExamples by industryNext Developer API overview

On this page

  • The audit log
  • Troubleshooting
  • The Go live button is disabled
  • My server gets 401 invalidserverkey
  • My server gets 409 appnotlive
  • The session response shows my role under ignoredroles
  • The assistant says the user is not allowed to do something they should
  • The widget does not appear or shows "unavailable"
  • Lookups fail with "could not reach the system"
  • A change ran but the user saw "could not confirm"
  • Users see each other's conversations