Troubleshooting
Start here when something does not work as expected.
First steps
1. Check the Activity log
Go to Activity and look at the most recent entries. This tells you what the system actually did, which is usually more informative than the error message.
Filter by:
- Type — find the specific action
- Agent — isolate one agent's behaviour
- Failed — jump straight to errors
2. Check the error message
IVY OS uses consistent status codes:
| Code | Meaning | What to do |
|---|---|---|
| 400 | Malformed request | Check the input format |
| 401 | Not signed in | Sign in again |
| 403 | No permission | Check your role, or an entitlement limit |
| 404 | Not found | Check the ID or the URL |
| 409 | Conflict | Something already exists with that name or key |
| 422 | Validation failed | The highlighted field is wrong |
| 429 | Rate limited | Wait, or raise the limit |
| 500 | Server error | Check the Activity log for the stack trace |
3. Try a hard refresh
Ctrl+Shift+R (or Cmd+Shift+R). This clears cached JavaScript. It fixes most "the page looks wrong" problems after a deploy.
Agents not working
The agent does nothing
| Check | How |
|---|---|
| Is it Active? | The System toggle on the agent detail page |
| Is the model reachable? | Try the model in another agent |
| Is the daily budget exhausted? | The agent detail page shows spend |
| Is a tool waiting for approval? | Check Approvals |
The agent ignores its instructions
- Confirm the instructions were saved — reopen the agent and check.
- Check whether a skill is overriding it. Long persistent skills compete with the
instructions for attention.
- Check whether the conversation is long. Older messages are replaced by a
summary, which may have lost the nuance. Start a new conversation.
- Rewrite the instruction to be a rule, not a wish. "Never file without
confirmation" beats "please be careful when filing".
The agent gives different answers each time
Temperature is too high. For factual work set it to 0.1 or lower. Temperature 0 is not available; use 0.1.
The agent stops mid-answer
Either the daily budget is exhausted, or the request timed out. Check the Activity log for a budget or timeout error.
Knowledge and memory problems
The agent cannot find a document
| Possible cause | Check |
|---|---|
| Not indexed yet | The badge should read ready |
| Indexed with errors | The badge reads error — delete and re-upload |
| Poor text extraction | If it is a scanned PDF, the text layer is missing. OCR it first. |
| Description is unclear | The agent uses the description to judge relevance. Make it specific. |
The agent forgets previous sessions
| Possible cause | Fix |
|---|---|
| No memories were written | Ask it to remember, or use extract-memories |
| Memories were deleted | Check the Memory card |
| Tenant-wide vs agent scope | Search at both scopes in Memory Studio |
| Wrong agent | The memory belongs to a different agent |
Search returns nothing
In Memory Studio, switch the scope from This agent to Whole tenant. Tenant-scope memories are stored against the organization, not the agent.
Tax filing problems
The wizard shows a client-side error on load
The wizard pages force dynamic rendering. If you see a hydration error, hard refresh. If it persists, the page may need the export const dynamic = "force-dynamic" directive — check with an administrator.
Bank statement categorisation is wrong
The parser uses keyword matching across 10+ categories. It is a starting point, not a filing.
Fix: correct the miscategorised rows manually before continuing. If the same words keep misfiring, note them and tell your administrator so the keyword list can be extended.
Box 9 does not match my expectation
Work backwards:
- Box 9 = Box 2 − Box 7
- Box 2 = Box 1 × 5%
- Box 7 = Box 6 × 5%
Common causes of a wrong answer:
- Input VAT claimed on non-recoverable items
- Zero-rated exports put in Box 1 instead of Box 3
- Credit notes not included
- A transaction categorised twice
Corporate tax is higher than expected
Check in this order:
- Did SBR apply? It requires group revenue ≤ AED 3m across three years.
- Did the QFZP exemption apply? It caps qualifying income at AED 3m.
- Are add-backs correct? Entertainment above AED 500 per person is non-deductible.
- Is the 75% loss cap biting? Losses can only shelter 75% of profit.
Download buttons do nothing
Relative URLs can resolve against the wrong base path. Use the Copy link button and open the copied URL directly. Every export is also reachable from the client's Returns tab.
Connect problems
WhatsApp messages are not arriving
- Check the channel shows
connectedin Connect → WhatsApp. - In the Meta developer dashboard, confirm the webhook URL and verify token.
- Confirm the
messagesfield is subscribed. - Check the API logs for the webhook request:
pm2 logs agentic-api --lines 200 --nostream | grep whatsapp
The AI intent is always "Other"
The classifier needs volume to calibrate. Override the first 50 messages manually, then check whether accuracy improves. If not, the intents may not match your business — your administrator can adjust them.
Auto-replies are being sent at the wrong hour
Check the channel timezone in Connect → Settings. It defaults to the organization's timezone (Gulf Standard Time, UTC+4).
Performance problems
Pages load slowly
| Symptom | Likely cause | Fix |
|---|---|---|
| First load of the day is slow | Cold cache, cold containers | Normal on a single-node setup |
| Large list pages are slow | No pagination | Filter to narrow the list |
| Exports are slow | Synchronous generation | Wait; consider a smaller date range |
| Everything is slow | High server load | Check pm2 list for CPU and memory |
LLM responses are slow
LLM latency dominates. If it is consistently slow, try a faster model — MiniMax M2.7-highspeed is the quickest available.
Access problems
I cannot see a module
Three possible causes:
- Role — viewers see less than members, members less than managers.
- Plan entitlement — the feature is not in your plan.
- Not implemented — it is on the roadmap.
Check your role in Settings → Members.
I get 403 on an API call
The key or session lacks the required scope. API keys carry explicit scopes. The session user needs the right role.
I cannot invite someone
Only owners and admins can manage members.
When to escalate
Contact your administrator or IVY OS support when:
- You see repeated 500 errors
- Data appears to be missing or corrupted
- A return you filed is wrong and needs amendment
- You suspect unauthorised access
- Backups have been failing
Include: what you were doing, what you expected, what happened, the approximate time, and the Activity log entries around it.
Diagnostic commands
For administrators:
# Process status
pm2 list
# Recent errors
pm2 logs agentic-api --lines 200 --nostream | grep '"level":50'
# Database connectivity
docker exec -it agentic-pgvector psql -U agentic -d agentic -c "SELECT 1;"
# Table sizes
docker exec agentic-pgvector psql -U agentic -d agentic -c "
SELECT relname, pg_size_pretty(pg_total_relation_size(relid)) AS size
FROM pg_catalog.pg_statio_user_tables ORDER BY pg_total_relation_size(relid) DESC
LIMIT 10;"
# Recent audit entries
docker exec agentic-pgvector psql -U agentic -d agentic -c "
SELECT created_at, action, resource_type FROM audit_logs
ORDER BY created_at DESC LIMIT 20;"
# Disk space
df -h