For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
  • Getting Started
    • What is Runtype?
    • Creating your account
    • Platform Keys vs. BYOK
    • Understanding the Runtype UI
    • Quickstart: Social Media Post Generator
    • Quickstart: From Agent to Chat Widget
  • Dashboard
    • What is the Dashboard?
    • Daily Executions
  • Playground
    • What is the Playground?
  • Products & Surfaces
    • What are Products?
    • What are Surfaces?
    • Creating a Product
    • Setting up a Chat Surface
    • Setting up an API Surface
    • Setting up an MCP Surface
    • Setting up an A2A Surface
    • Setting up a Slack Surface
    • MCP authentication
    • Authenticating with product API keys
    • Embedding the chat widget (script tag)
    • Embedding the chat widget (React)
    • Surface orchestration modes
    • Product views
    • Adding Capabilities to a product
    • Connecting external agents
    • How A2A works
    • Connecting to Cursor / VS Code
    • Connecting to Claude Desktop
    • Scoping API keys to capabilities
    • Auto-generated OpenAPI spec
    • Calling your API endpoints
    • Client tokens and domain restrictions
    • AI-powered theme generation
    • Widget theming and customization
    • Product versioning and status
  • Flows
    • What are Flows?
    • Creating and Editing Flows
    • Flow step types overview
    • Agent and Flow Templates
    • Using prompt steps
    • Using transform-data steps
    • Using conditional steps
    • Using fetch-url and api-call steps
    • Using record steps (upsert/retrieve)
    • Flow variables and templates
    • Flow versioning and publishing
    • Running flows in batch
    • Handling batch failures
    • Debugging flows
  • Agents
    • What are Agents?
    • Creating and configuring Agents
    • Agent tools
  • Records
    • What are Records?
    • Creating and managing records
    • Using records in flows
    • Filtering and searching records
  • Tools
    • What are Tools?
    • Built-in Tools
    • Creating custom tools
    • Creating external tools
    • Runtime tools
  • Evals
    • What are Evals?
    • Running an Eval
    • Interpreting eval results
  • Schedules
    • What are Schedules?
    • Automating batch processing
  • Logs
    • What are Logs?
    • Working with Logs
  • Integrations
    • Connecting AI model providers
    • Slack integration
    • Google Workspace integration
    • GitHub integration
    • Linear integration
    • Weaviate (vector search)
    • Firecrawl (web scraping)
    • Exa (web search)
  • Settings
    • What's in Settings?
    • Available AI models
    • What are Organizations?
    • Managing AI models
    • Managing API keys
    • Billing and plans
    • Usage data
    • Team members and permissions
    • Appearance and preferences
    • Integrations (PostHog, Weaviate, Daytona)
  • Troubleshooting & FAQ
    • FAQ
    • Rate Limits and Usage
    • Managing Runtype with Claude
    • Flow execution failures
    • Common errors and solutions
    • Authentication issues
Dashboard
LogoLogo
On this page
  • Authentication errors
  • Error: Invalid API key
  • Error: Domain not authorized
  • Flow execution errors
  • Error: Step timeout
  • Error: Undefined variable
  • Error: Rate limit exceeded
  • Integration errors
  • Error: Slack message failed
  • Error: Firecrawl scraping failed
  • Model errors
  • Error: Model not available
  • Error: Context length exceeded
  • Surface errors
  • Error: Chat widget not appearing
  • Error: API endpoint not found
  • Next steps
Troubleshooting & FAQ

Common errors and solutions

Was this page helpful?
Previous

Authentication issues

Next
Built with

Quick reference for common Runtype errors and how to resolve them.

Authentication errors

Error: Invalid API key

Message: 401 Unauthorized: Invalid or missing API key

Causes:

  • API key was revoked or expired
  • Typo in key
  • Using wrong key for environment

Solutions:

  1. Check Settings → Models or Integrations
  2. Regenerate key if expired
  3. Verify key matches environment (dev vs production)

Error: Domain not authorized

Message: 403 Forbidden: Domain not in allowed list

Causes:

  • Chat widget domain not added to allowed list

Solutions:

  1. Go to chat surface settings → Security
  2. Add current domain to allowed domains
  3. Save and retry

Flow execution errors

Error: Step timeout

Message: Execution timed out after 30s

Solutions:

  1. Increase Flow timeout in settings
  2. Optimize slow steps (use faster models)
  3. Add caching to avoid repeated API calls

Error: Undefined variable

Message: Cannot read property 'output' of undefined

Solutions:

  1. Check step name spelling
  2. Ensure step executes before being referenced
  3. Add conditional checks for optional variables

Error: Rate limit exceeded

Message: 429 Too Many Requests

Solutions:

  1. Switch to BYOK for dedicated rate limits
  2. Add delay steps between API calls
  3. Reduce batch concurrency

Integration errors

Error: Slack message failed

Causes:

  • Channel deleted or archived
  • Bot removed from channel
  • Slack integration disconnected

Solutions:

  1. Verify channel exists and is active
  2. Re-invite Runtype bot to channel
  3. Reconnect Slack in Settings → Integrations

Error: Firecrawl scraping failed

Causes:

  • Website blocks automated access
  • Page requires authentication
  • Invalid URL

Solutions:

  1. Check URL is publicly accessible
  2. Use authentication parameters if available
  3. Try different wait_for selector

Model errors

Error: Model not available

Causes:

  • Model disabled in settings
  • Provider API key missing or invalid
  • Model deprecated by provider

Solutions:

  1. Enable model in Settings → Models
  2. Verify provider API key is current
  3. Switch to alternative model

Error: Context length exceeded

Message: Maximum context length exceeded

Solutions:

  1. Reduce prompt length
  2. Use model with larger context (e.g., Claude Sonnet 4.6 or Gemini 3.1 Pro)
  3. Summarize input before sending to AI

Surface errors

Error: Chat widget not appearing

Solutions:

  1. Check script tag is before “
  2. Verify surface status is Active
  3. Check browser console for errors
  4. Confirm domain is allowed

Error: API endpoint not found

Message: 404 Not Found

Solutions:

  1. Verify endpoint URL is correct
  2. Check Product ID and capability ID
  3. Ensure surface is active

For errors not listed here, check execution logs for detailed stack traces and error messages. Include execution ID when contacting support.

Next steps

  • Debugging failed executions for systematic troubleshooting
  • Flow execution failures for Flow-specific errors
  • Authentication issues for login problems
  • FAQ for general questions