<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Routing on ErrorVault — Developer Error Code Dictionary</title>
    <link>https://errorvault.dev/tags/routing/</link>
    <description>Recent content in Routing on ErrorVault — Developer Error Code Dictionary</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 29 Jul 2026 22:20:04 +0800</lastBuildDate>
    <atom:link href="https://errorvault.dev/tags/routing/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fix clw-router-not-found: Router Component Not Registered in OpenClaw</title>
      <link>https://errorvault.dev/openclaw/openclaw-clw-router-not-found-router-component-not-registered/</link>
      <pubDate>Wed, 29 Jul 2026 22:20:04 +0800</pubDate>
      <guid>https://errorvault.dev/openclaw/openclaw-clw-router-not-found-router-component-not-registered/</guid>
      <description>&lt;h2 id=&#34;1-symptoms&#34;&gt;1. Symptoms&lt;/h2&gt;&#xA;&lt;p&gt;When the &lt;code&gt;clw-router-not-found&lt;/code&gt; error occurs during OpenClaw application execution, developers will observe specific indicators across different operation contexts. The error manifests primarily at application startup when the router initialization phase attempts to resolve registered router components.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Shell output during application boot:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[OpenClaw] ERROR: Router &amp;#39;primary-router&amp;#39; not found in registry&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[OpenClaw] CODE: clw-router-not-found&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[OpenClaw] Hint: Verify router registration in openclaw.config.js&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Runtime symptoms include:&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Application fails to start with a non-zero exit code&lt;/li&gt;&#xA;&lt;li&gt;Router-dependent services fail to initialize&lt;/li&gt;&#xA;&lt;li&gt;HTTP routes become inaccessible even if defined elsewhere&lt;/li&gt;&#xA;&lt;li&gt;Error logs show the specific router identifier that failed resolution&lt;/li&gt;&#xA;&lt;li&gt;The application may hang at the routing initialization phase&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;Configuration validation failures:&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fix clw-router-denied: OpenClaw Router Request Denied Error</title>
      <link>https://errorvault.dev/openclaw/openclaw-clw-router-denied-request-denial/</link>
      <pubDate>Sun, 26 Jul 2026 15:08:04 +0800</pubDate>
      <guid>https://errorvault.dev/openclaw/openclaw-clw-router-denied-request-denial/</guid>
      <description>&lt;h2 id=&#34;1-symptoms&#34;&gt;1. Symptoms&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;code&gt;clw-router-denied&lt;/code&gt; error occurs when the OpenClaw router middleware rejects an incoming request based on configured access control policies. This error manifests through several observable indicators that help distinguish it from other routing failures.&lt;/p&gt;&#xA;&lt;p&gt;When the error is triggered, the client receives an HTTP 403 Forbidden response with a JSON payload containing the error code &lt;code&gt;clw-router-denied&lt;/code&gt;. The response body typically includes a descriptive message explaining why the request was denied, along with the affected route identifier. In a command-line context, running OpenClaw CLI commands that interact with the router will display an error message prefixed with &lt;code&gt;[ROUTER DENIED]&lt;/code&gt; followed by specific denial rationale such as missing credentials, blacklisted IP address, or invalid route permissions.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fix clw-router-invalid: Router Configuration Schema Validation Failed</title>
      <link>https://errorvault.dev/openclaw/openclaw-clw-router-invalid-router-schema-validation-failed/</link>
      <pubDate>Sat, 11 Jul 2026 22:20:04 +0800</pubDate>
      <guid>https://errorvault.dev/openclaw/openclaw-clw-router-invalid-router-schema-validation-failed/</guid>
      <description>&lt;h2 id=&#34;1-symptoms&#34;&gt;1. Symptoms&lt;/h2&gt;&#xA;&lt;p&gt;The &lt;code&gt;clw-router-invalid&lt;/code&gt; error manifests during OpenClaw router initialization or when loading a route configuration file. You may encounter this error through several distinct indicators depending on when the validation occurs in your application&amp;rsquo;s lifecycle.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;During Application Startup:&lt;/strong&gt;&#xA;When the router initializes at application boot, the validation failure produces output similar to the following:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[ClawRouter] ERROR: Router configuration validation failed&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[ClawRouter] ERROR: clw-router-invalid - Schema validation error in route &amp;#39;api/users&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[ClawRouter] DETAIL: Invalid field &amp;#39;methods&amp;#39;: expected array, received string&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[ClawRouter] CONTEXT: Config file &amp;#39;claw.routes.json&amp;#39; line 42, column 15&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;When Loading Routes Dynamically:&lt;/strong&gt;&#xA;If you load routes after startup using the dynamic route loading API, you might see:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
