> For the complete documentation index, see [llms.txt](https://docs.klai.studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.klai.studio/reference/support-and-maintenance/bf-error-codes.md).

# Klai Error Codes

<table><thead><tr><th width="112.3046875">Error Code</th><th width="223.921875">Description</th><th>Other information passed</th></tr></thead><tbody><tr><td>400</td><td>Bad request</td><td>Issue could be related with a broad types of errors. Most common would be trying to access wrong FM file, invalid credentials</td></tr><tr><td>401</td><td>Authentication</td><td>Issue when user is not authenticated and tries to load an authenticated form or invalid credentials are set to access the Helper File</td></tr><tr><td>404</td><td>Page not found</td><td>Issue in base code or Feathers where form ID is incorrect, navigation slug or service doesn't exist.</td></tr><tr><td>408</td><td>Timeout</td><td>FileMaker scripts taking longer than 20 seconds to return requests. The behavior has changed in base code v2.1+ and is a warning only.</td></tr><tr><td>959</td><td>Technology not available</td><td>Issue in FileMaker server when, for example, XML gateway is unavailable or not enabled.</td></tr><tr><td>952</td><td>Invalid Data API</td><td>Issue with communication between Feathers and FileMaker server when a user is using a session with the Data API gateway that's invalid for the FM database (e.g. hard reset of FM database or manually disconnected clients from FM database).</td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>10xxx Series</strong></td><td><strong>Errors generated within client (browser) side code</strong></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>100xx</strong></td><td><strong>Site Related</strong></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td>10010</td><td>DOM Header insertion error, There was an error with adding content to the &#x3C;head> tag. Usually a JS error or resource error</td><td>script content and error</td></tr><tr><td>10020</td><td>HTML Render error</td><td></td></tr><tr><td>10030</td><td>Custom component not found.</td><td>Component name</td></tr><tr><td>10040</td><td>Vue warning captured</td><td>error info</td></tr><tr><td>10042</td><td>Vue Error captured</td><td>error info</td></tr><tr><td>10050</td><td>Site not found</td><td>Issue when no site record is found for domain, while creating routes for app.</td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>101xx</strong></td><td><strong>Action Related</strong></td><td></td></tr><tr><td>10100</td><td>No action handler found for the passed action. Check action name.</td><td>The action</td></tr><tr><td>10110</td><td><code>namedAction</code> not found, Klai tried to look for the named action in the for and site and was unable to find it.</td><td>The action that caused the issue</td></tr><tr><td>10112</td><td>No action handler found for action</td><td>Issue in Klai app where an invalid Klai action was called</td></tr><tr><td>10120</td><td>No <code>onResponse_actions</code> has been configured. This is used on elements that have callbacks like payment gateways.</td><td>The response the element tried to handle</td></tr><tr><td>10130</td><td>Missing channel</td><td>Issue in Klai app where a channel key is not passed when adding or removing a user to an anonymous channel.</td></tr><tr><td>10131</td><td>Channels must be an array</td><td>Issue in Klai app where channels is not an array when sending a message.</td></tr><tr><td>10132</td><td>Message error</td><td>Issue in Klai app when sending a message (e.g. user not authorized to send message on authenticated channel, user not added to any authenticated</td></tr><tr><td>10140</td><td>Missing path or URL</td><td>Issue in Klai app when using the action path and no path or url is specified.</td></tr><tr><td>10141</td><td>Duplicated Navigation path</td><td>Issue in Klai app when using the action path and the path action tries to navigate to current page.</td></tr><tr><td>10150</td><td>Invalid Login Attempt</td><td>Invalid email or password.</td></tr><tr><td>10151</td><td>Logout action error</td><td>Issue with logout action.</td></tr><tr><td>10152</td><td>Signup action error</td><td>Issue when user tries to signup. (e.g. email already registered)</td></tr><tr><td>10153</td><td>Password reset hook error</td><td>Issue when sending a reset password link.</td></tr><tr><td>10154</td><td>Password reset action error</td><td>Issue when resetting the password.</td></tr><tr><td>10155</td><td>Resend verify signup error</td><td>Issue when sending a link to verify user's email.</td></tr><tr><td>10156</td><td>Verify signup error</td><td>Issue when verifying user's email.</td></tr><tr><td>10157</td><td>On login hook error</td><td>Issue when user tries to login. Error caused by, most likely, some backend (FM) issue.</td></tr><tr><td>10158</td><td>OAuth on login hook error</td><td>Issue when user tries to login via OAuth. Error caused by, most likely, some backend (FM) issue.</td></tr><tr><td>10159</td><td>BF.namedAction invalid parameter</td><td>Issue when string passed as parameter for BF.namedAction function does not translate to a valid JSON object.</td></tr><tr><td>10160</td><td>OAuth login error returned from external provider</td><td>Issue when trying to login via OAuth with external provider.</td></tr><tr><td>10170</td><td>Local / Session Storage Error</td><td>Error while retrieving Local or Session storage data</td></tr><tr><td>10171</td><td>Local / Session Storage Error</td><td>Error while writing data to Local or Session storage.</td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>102xx</strong></td><td><strong>Calculation Related</strong></td><td></td></tr><tr><td>10200</td><td>Error when evaluating *_calc field</td><td>Issue when there's an error with the expression passed to a field *_calc. (It doesn't include fields visible nor validator).</td></tr><tr><td>10201</td><td>Error when evaluating *_calc or *_calcf field</td><td>Issue when there's an error with the expression passed to a field *_calc. (It includes fields visible nor validator).</td></tr><tr><td>10202</td><td>Error when evaluating *_actions field</td><td>Issue when there's an error with the expression passed to a field *_actions.</td></tr><tr><td>10203</td><td>Error when evaluating *_function field</td><td>Issue when there's an error with the expression passed to a field *_function.</td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>105xx</strong></td><td><strong>Function Action Related</strong></td><td></td></tr><tr><td>10501</td><td>Error in <code>function</code> action JavaScript</td><td>Thrown when user-supplied JavaScript inside a <code>function</code> action throws an error at runtime. The error message includes the action name (or action type) and the original error. The third argument is a structured object containing: <code>action</code> (action type), <code>name</code> (action name if set), <code>functionSnippet</code> (first 200 chars of the JS), <code>stack</code> (full stack trace), and <code>options</code> (the action's options object).</td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>103xx</strong></td><td><strong>Hook Related</strong></td><td></td></tr><tr><td>10300</td><td>Unhandled Form hookset type</td><td>Issue returned from FileMaker business file caused by not handled utility hook type.</td></tr><tr><td>10301</td><td>Error Updating Environment record</td><td>Issue returned from FileMaker when trying to update an Environment record.</td></tr><tr><td>10302</td><td>Error Updating Site</td><td>Issue returned from FileMaker when trying to update a Site record (hash5L field doesn't exist).</td></tr><tr><td></td><td></td><td></td></tr><tr><td><strong>10900</strong></td><td><strong>Other</strong></td><td></td></tr><tr><td>10901</td><td>DAPI Adapater Error</td><td>Issue thrown by the DAPI adapter in our base code.</td></tr><tr><td>10902</td><td>Client is offline</td><td>User has no internet connection.</td></tr><tr><td>10903</td><td>Unable to get DAPI token</td><td>Issue thrown by the DAPI adapter in our base code when base code was unable to retrieve a valid DAPI token.</td></tr></tbody></table>
