Skip to content

Common Errors & Solutions

Quick reference for troubleshooting the most common errors you might encounter when using BlokMCP.

Table of Contents


Authentication Errors

401: Unauthorized - Invalid API Key

Error message:

Authentication failed: Invalid API key

Causes:

  • API key doesn't exist or was revoked
  • API key is incorrectly formatted
  • Typo in the API key

Solutions:

  1. Verify your API key in the dashboard
  2. Check the format - should start with sb_mcp_
  3. Create a new key if the old one was revoked
  4. Copy/paste carefully to avoid typos
  5. Restart your MCP client after updating the configuration

401: Unauthorized - Missing API Key

Error message:

Authentication failed: API key required

Causes:

  • X-Api-Key header not provided
  • Wrong header name
  • Configuration not loaded

Solutions:

  1. Check your configuration file has the X-Api-Key header:
    "headers": {
      "X-Api-Key": "sb_mcp_your_api_key_here"
    }
    
  2. Verify header name is exactly X-Api-Key (case-sensitive)
  3. Restart your MCP client to reload configuration

403: Forbidden - Insufficient Storyblok Permissions

Error message:

Operation not permitted: Your Storyblok token lacks permission to perform this operation

Causes:

  • Storyblok management token doesn't have required permissions
  • Token permissions were changed
  • Wrong token configured

Solutions:

  1. Check token permissions in Storyblok:
    • Go to Storyblok → Space Settings → Access Tokens
    • Find your BlokMCP management token
    • Verify it has the permissions you need
  2. Update token in BlokMCP dashboard:
    • Dashboard → Spaces → Edit Space
    • Update management token
  3. Common permission requirements:
    • Publish: Needs publish permission
    • Delete: Needs delete permission
    • Schema changes: Needs full or admin access

Space & Configuration Errors

404: Space Not Found

Error message:

Space not found or not configured

Causes:

  • Space ID in header doesn't match any connected space
  • Space was disconnected from BlokMCP
  • Wrong space ID

Solutions:

  1. Check connected spaces in dashboard
  2. Remove X-Storyblok-Space-Id header to use default space
  3. Verify space ID is correct (numeric, from Storyblok URL)
  4. Reconnect space in dashboard if it was disconnected

Multiple Spaces - No Default Set

Error message:

Multiple spaces configured. Please specify which space to use.

Causes:

  • You have multiple Storyblok spaces connected
  • No default space is set
  • No space specified in configuration

Solutions:

  1. Set a default space in the dashboard:
    • Dashboard → Spaces
    • Click on a space
    • Check "Set as default"
  2. Or specify space in configuration:
    "headers": {
      "X-Api-Key": "sb_mcp_your_api_key_here",
      "X-Storyblok-Space-Id": "123456"
    }
    
  3. Or ask Claude to specify:
    Use space ID 123456 for this request
    

See Multi-Space Setup for details.


Content Operation Errors

404: Story Not Found

Error message:

Story not found: ID 123456

Causes:

  • Story ID doesn't exist
  • Story was deleted
  • Wrong space (story is in different space)

Solutions:

  1. Verify story ID - check in Storyblok interface
  2. Search for story instead of using ID:
    Find the story called "My Story Title"
    
  3. Check you're using the right space

422: Validation Error - Required Fields Missing

Error message:

Validation failed: Field 'title' is required

Causes:

  • Creating/updating story without required fields
  • Component schema requires fields that aren't provided

Solutions:

  1. Check required fields for the component:
    Show me the schema for the "blog_post" component
    
  2. Provide all required fields when creating/updating
  3. Ask Claude to check:
    Before publishing, verify all required fields are filled
    

422: Slug Already Exists

Error message:

Validation failed: Slug 'my-story' already exists

Causes:

  • Trying to create story with duplicate slug
  • Slug conflicts with existing story

Solutions:

  1. Use a different slug or let Storyblok auto-generate one
  2. Update existing story instead of creating new one
  3. Check for existing story:
    Does a story with slug "my-story" already exist?
    

Permission Errors

Cannot Modify Published Story

Error message:

Cannot modify published story. Unpublish first or create a new version.

Causes:

  • Trying to edit story that's already published
  • Workflow rules prevent direct editing

Solutions:

  1. Unpublish first, then edit:
    Unpublish the story, update it, then publish again
    
  2. Or edit and publish in one operation:
    Update the story and publish the changes immediately
    

Workflow Approval Required

Error message:

Operation requires workflow approval

Causes:

  • Story is in a workflow that requires approval
  • Trying to publish without going through approval process

Solutions:

  1. Complete approval process in Storyblok
  2. Check workflow status:
    What's the workflow status of this story?
    
  3. Or remove from workflow if not needed

Rate Limiting Errors

429: Rate Limit Exceeded

Error message:

Rate limit exceeded. Please wait 60 seconds before retrying.
Response headers:
  X-RateLimit-Limit: 10
  X-RateLimit-Remaining: 0
  X-RateLimit-Reset: 1234567890

Causes:

  • Exceeded requests per minute for your subscription tier
  • Making too many requests too quickly

Your tier limits:

  • Free: 10 requests/minute, 1,000/month
  • Pro: 100 requests/minute, 50,000/month
  • Enterprise: 1,000 requests/minute, 500,000/month

Solutions:

  1. Wait 60 seconds for the rate limit to reset
  2. Slow down bulk operations:
    Process 10 stories at a time with a pause between batches
    
  3. Upgrade subscription for higher limits
  4. Check current usage in dashboard

See Rate Limiting Guide for details.


Connection Errors

Cannot Connect to BlokMCP

Error message:

Failed to connect to https://mcp.blokmcp.com

Causes:

  • Network connectivity issues
  • BlokMCP service is down
  • Firewall blocking connection

Solutions:

  1. Check internet connection
  2. Try accessing blokmcp.com in browser
  3. Check firewall/proxy settings
  4. Wait a few minutes and retry (might be temporary)
  5. Check status page for service status

Connection Timeout

Error message:

Request timeout after 30 seconds

Causes:

  • Slow network connection
  • Large operation taking too long
  • Server under heavy load

Solutions:

  1. Retry the operation
  2. Break into smaller operations if bulk processing
  3. Check network speed

Configuration Errors

Invalid JSON in Configuration File

Error message:

Failed to parse configuration: Unexpected token...

Causes:

  • Syntax error in JSON configuration file
  • Missing comma, bracket, or quote
  • Trailing comma

Solutions:

  1. Validate JSON using a validator:
  2. Common mistakes:
    • Missing comma between entries
    • Extra comma after last entry
    • Quotes around keys and values
    • Matching braces {}
  3. Example of correct JSON:
    {
      "mcpServers": {
        "storyblok": {
          "url": "https://mcp.blokmcp.com",
          "headers": {
            "X-Api-Key": "sb_mcp_..."
          }
        }
      }
    }
    

Configuration File Not Found

Error message:

Configuration file not found

Causes:

  • File doesn't exist at expected location
  • Wrong file path
  • File name incorrect

Solutions:

  1. Create the configuration file at the correct location:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Verify file name is exactly claude_desktop_config.json
  3. Restart your MCP client after creating the file

See Claude Desktop Setup for details.


Getting More Help

Still Having Issues?

  1. Check the docs:
  2. Ask Claude for help:
    I'm getting this error: [paste error message].
    Can you help me understand what's wrong?
    
  3. Check dashboard:
  4. Contact support:

Error Code Quick Reference

CodeMeaningQuick Fix
401Invalid/missing API keyCheck API key in dashboard
403Insufficient permissionsUpdate Storyblok token permissions
404Resource not foundVerify ID/slug exists
422Validation errorCheck required fields
429Rate limit exceededWait 60 seconds or upgrade plan
500Server errorRetry or contact support
503Service unavailableWait and retry


Can't find your error? Open an issue or contact us for help!

BlokMCP logo
BlokMCP

Give your AI assistants safe, structured access to Storyblok so content teams can move faster.

Status

Operational insights

Monitor usage, limits, and connection health in your dashboard.

© 2026 BlokMCP. All rights reserved.

Built for teams who ship content with AI.