Skip to content

Error Codes

Fresh

HTTP Status Codes

CodeErrorDescriptionSolution
200SuccessRequest completed
400Bad RequestInvalid parametersCheck request body and parameters
401UnauthorizedInvalid or expired API keyVerify API key, regenerate if needed
402Payment RequiredInsufficient creditsAdd credits to your account
403ForbiddenInsufficient permissions or bank scopeCheck key permissions and bank scope
404Not FoundResource does not existVerify bank_id, memory_id, or mental_model_id
500Server ErrorInternal server errorRetry, contact support if persistent

Common Error Responses

401 Unauthorized

json
{
  "detail": "Invalid or expired API key"
}

404 Not Found

json
{
  "detail": "Bank with ID 'invalid-bank' not found"
}

400 Bad Request

json
{
  "detail": "Validation error: items is required"
}

402 Payment Required

json
{
  "detail": "Insufficient credits to complete this operation"
}

Troubleshooting by Operation

Retain Errors

ErrorCauseFix
400Empty contentProvide non-empty content string
400Missing items arrayInclude items array in body
402No creditsAdd credits on Billing page
404Invalid bank_idCreate the bank first or verify bank exists

Recall Errors

ErrorCauseFix
400Empty queryProvide a search query string
400Invalid types filterUse valid types: world_fact, experience, observation

Reflect Errors

ErrorCauseFix
400Empty queryProvide a question string
400Invalid response_schemaVerify JSON Schema is valid

Mental Model Errors

ErrorCauseFix
400Missing name or source_queryBoth fields are required
404Invalid mental_model_idVerify the model exists

MCP Errors

IssueSolution
0 tools discoveredAuth failed silently — re-add MCP server
OAuth page does not openCheck Node.js installed, verify URL
Tools appear but failCheck credits and bank name validity