← All Articles

Troubleshooting Common SecureAI Errors

troubleshooting beginner troubleshooting errors connectivity sessions integrations

When something goes wrong in SecureAI, the error you see usually points to one of a few root causes: a model communication failure, an expired session, a workspace access problem, or an integration misconfiguration. This article covers the most common errors, what causes them, and how to fix them.

Model Not Responding

These errors appear when SecureAI cannot get a response from the AI model provider.

"Model unavailable" or no response after sending a message

The upstream model provider (OpenAI, Anthropic, Google, or a local model) is not reachable.

Possible causes:

What to do:

  1. Try a different model from the model selector dropdown. If one provider is down, another may still work.
  2. Check the provider's status page (e.g., status.openai.com, status.anthropic.com) for known outages.
  3. If no models work, ask your administrator to verify that API keys are valid in Admin Panel > Settings > Connections.
  4. If you are on a corporate network, confirm with your IT team that outbound HTTPS traffic to AI provider endpoints is allowed.

"Context length exceeded" or message fails silently

Your message plus the conversation history exceeds the model's token limit.

Possible causes:

What to do:

  1. Start a new conversation to reset the context.
  2. Shorten your message or break it into smaller parts.
  3. If using an assistant with knowledge bases, the retrieved context adds to the token count. Try asking your question without the assistant to see if the issue is context size.
  4. For large documents, upload them to a knowledge base instead of pasting them into the chat. Knowledge base retrieval pulls only relevant chunks rather than the entire document.

"Rate limit exceeded"

Your organization has hit the usage limit for the billing period, or the model provider is throttling requests.

Possible causes:

What to do:

  1. Ask your administrator to check usage in Admin Panel > Dashboard or Admin Panel > Users.
  2. Wait a few minutes and try again -- provider rate limits are usually temporary.
  3. Switch to a different model that may have separate rate limits.

For more detail on model issues, see Why is the AI model not responding?.

Session Expiry

These errors occur when your login session has timed out or been invalidated.

"Session expired" or unexpected redirect to the login page

SecureAI sessions have a configurable timeout. When your session expires, you are redirected to the login page.

Possible causes:

What to do:

  1. Log in again. Your conversations and data are preserved -- only the session token expired.
  2. If this happens frequently, ask your administrator to increase the session timeout in Admin Panel > Settings > General.
  3. Check that your browser is not configured to clear cookies on close for the SecureAI domain.
  4. If you are using a private/incognito window, sessions will not persist after closing the window.

"Unauthorized" or "401" error mid-conversation

Your session token became invalid while you were actively using SecureAI.

Possible causes:

What to do:

  1. Refresh the page. If the session can be restored, SecureAI will do so automatically.
  2. If refreshing does not work, log out and log back in.
  3. Your in-progress message may not have been saved. Check your conversation history after logging back in -- if the last message is missing, resend it.

Workspace Access Errors

These errors relate to permissions and access control within SecureAI workspaces.

"You do not have access to this workspace"

You are trying to access a workspace that your account is not a member of.

Possible causes:

What to do:

  1. Verify you are logged into the correct account by clicking your profile icon.
  2. Ask your administrator to confirm your workspace membership in Admin Panel > Users.
  3. If the workspace was recently restructured, you may need a new invitation.

"Permission denied" when accessing a feature

You can see the feature in the interface but cannot use it.

Possible causes:

What to do:

  1. Check your current role by clicking your profile icon and looking at your account settings.
  2. Ask your administrator to grant the necessary permissions if your role requires the feature.
  3. Common features that require elevated permissions:
    • Creating shared assistants (may require moderator or admin role)
    • Accessing the admin panel (admin role only)
    • Managing knowledge bases (may be restricted by workspace settings)
    • Viewing other users' conversations (admin role only)

"Knowledge base not found" or missing search results

A knowledge base you previously used is no longer accessible.

Possible causes:

What to do:

  1. Navigate to Workspace > Knowledge to see your available knowledge bases.
  2. If the knowledge base was shared with you by a colleague, ask them whether it still exists.
  3. If you recently uploaded documents to a knowledge base, wait a few minutes for indexing to complete. Large uploads can take several minutes to process.

Integration Failures

These errors occur when SecureAI's connections to external services break.

"Integration connection failed" or sync errors

An external service integration (HubSpot, Google Drive, Slack, Microsoft 365) is not working.

Possible causes:

What to do:

  1. Go to Settings > Integrations (or ask your admin to check Admin Panel > Integrations).
  2. Look for a warning icon or "disconnected" status on the affected integration.
  3. Click Reconnect or Reauthorize to refresh the OAuth token.
  4. If reconnection fails, the external service may be experiencing downtime. Check the service's status page.
  5. For corporate networks, verify that outbound access to the integration's API endpoints is not blocked by a firewall.

"Tool execution failed" in an assistant response

An assistant tried to call an external tool or API and the call failed.

Possible causes:

What to do:

  1. Try the same question without the assistant (direct model chat) to confirm the model itself is working.
  2. Report the error to your administrator -- tool configurations are managed in the admin panel.
  3. If you are an admin, check the tool configuration in Admin Panel > Tools. Verify the endpoint URL, authentication headers, and expected response format. See the tool integration guide for setup details.

"File upload failed" or "Import error"

An integration tried to pull in a file from an external service but failed.

Possible causes:

What to do:

  1. Check the file size against your organization's upload limit. The default maximum is displayed on the upload interface.
  2. Verify the file format is supported. See Supported file formats for the full list.
  3. For integration-sourced files, ensure the integration has read access to the file's location in the external service.

General Troubleshooting Steps

When you encounter an error not listed above, try these steps in order:

  1. Refresh the page -- a hard refresh (Ctrl+Shift+R or Cmd+Shift+R) clears cached scripts that may be causing the issue.
  2. Try a different browser -- this rules out browser-specific issues, extensions, or cached state.
  3. Check your network -- confirm you can reach other websites. If you are on a VPN, try disconnecting to rule out VPN-related routing issues.
  4. Clear browser data -- clear cookies and cache for the SecureAI domain specifically, then log in again.
  5. Check for announcements -- your administrator may have posted maintenance notices or known issue alerts.
  6. Contact support -- if the problem persists, provide:
    • The exact error message (text or screenshot)
    • What you were doing when the error occurred
    • The model and assistant you were using (if applicable)
    • Your browser and operating system
    • Whether other users are affected

Related Articles