Skip to content

Klai Error Codes ​

Klai Studio can throw various errors due to code or configuration. Errors can appear in the Helper File, Developer Tools ( when enabled) or the browser console.

Error CodeDescriptionOther information passed
400Bad requestIssue could be related with a broad types of errors. Most common would be trying to access wrong FM file, invalid credentials
401AuthenticationIssue when user is not authenticated and tries to load an authenticated form or invalid credentials are set to access the Helper File
404Page not foundIssue in base code or Feathers where form ID is incorrect, navigation slug or service doesn't exist.
406OAuth provider not configuredFeathers NotAcceptable when OAuth login starts for a provider that has no credentials in the connection OAuth vault (Google, Auth0, Okta, or Microsoft). Turning on Enable 3rd Party Authentication is not enough — the specific provider must be configured. Response message looks like: OAuth provider "Microsoft" is not configured. This is not FileMaker error 406.
408TimeoutFileMaker scripts taking longer than 20 seconds to return requests. The behavior has changed in base code v2.1+ and is a warning only.
959Technology not availableIssue in FileMaker server when, for example, XML gateway is unavailable or not enabled.
952Invalid Data APIIssue 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).
10xxx SeriesErrors generated within client (browser) side code
100xxSite Related
10010DOM Header insertion error, There was an error with adding content to the <head> tag. Usually a JS error or resource errorscript content and error
10020HTML Render error
10030Custom component not found.Component name
10040Vue warning capturederror info
10042Vue Error capturederror info
10050Site not foundIssue when no site record is found for domain, while creating routes for app.
101xxAction Related
10100No action handler found for the passed action. Check action name.The action
10110namedAction not found, Klai tried to look for the named action in the for and site and was unable to find it.The action that caused the issue
10112No action handler found for actionIssue in Klai app where an invalid Klai action was called
10120No onResponse_actions has been configured. This is used on elements that have callbacks like payment gateways.The response the element tried to handle
10130Missing channelIssue in Klai app where a channel key is not passed when adding or removing a user to an anonymous channel.
10131Channels must be an arrayIssue in Klai app where channels is not an array when sending a message.
10132Message errorIssue in Klai app when sending a message (e.g. user not authorized to send message on authenticated channel, user not added to any authenticated
10140Missing path or URLIssue in Klai app when using the action path and no path or url is specified.
10141Duplicated Navigation pathIssue in Klai app when using the action path and the path action tries to navigate to current page.
10150Invalid Login AttemptWrong password (Invalid login) or unknown email (No records found). Auth feedback code auth.invalid_login. A disabled account is 10163, not 10150.
10151Logout action errorIssue with logout action.
10152Signup action errorIssue when user tries to signup. (e.g. email already registered)
10153Password reset hook errorIssue when sending a reset password link.
10154Password reset action errorIssue when resetting the password.
10155Resend verify signup errorIssue when sending a link to verify user's email.
10156Verify signup errorIssue when verifying user's email.
10157On login hook errorIssue when user tries to login. Error caused by, most likely, some backend (FM) issue.
10158OAuth on login hook errorIssue when user tries to login via OAuth. Error caused by, most likely, some backend (FM) issue.
10159BF.namedAction invalid parameterIssue when string passed as parameter for BF.namedAction function does not translate to a valid JSON object.
10160OAuth login error returned from external providerIssue when trying to login via OAuth with external provider. Auth feedback code auth.oauth_failed. A disabled account during OAuth is 10163, not 10160.
10161Magic link request errorIssue when requesting a magic sign-in link. Auth feedback code auth.magic_link_request_failed.
10162Invite complete errorIssue when completing an invite. A bad, expired, or disabled invite keeps the server sentence Token is invalid or expired. Auth feedback code auth.invite_complete_failed.
10163Account disabledLocal login or OAuth passed the credential check, then the server reported the account disabled. Auth feedback code auth.account_disabled. The server sentence is kept, for example name - account disabled. Wrong password and unknown email stay on 10150.
10170Local / Session Storage ErrorError while retrieving Local or Session storage data
10171Local / Session Storage ErrorError while writing data to Local or Session storage.
102xxCalculation Related
10200Error when evaluating *_calc fieldIssue when there's an error with the expression passed to a field *_calc. (It doesn't include fields visible nor validator).
10201Error when evaluating *_calc or *_calcf fieldIssue when there's an error with the expression passed to a field *_calc. (It includes fields visible nor validator).
10202Error when evaluating *_actions fieldIssue when there's an error with the expression passed to a field *_actions.
10203Error when evaluating *_function fieldIssue when there's an error with the expression passed to a field *_function.
105xxFunction Action Related
10501Error in function action JavaScriptThrown when user-supplied JavaScript inside a function 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: action (action type), name (action name if set), functionSnippet (first 200 chars of the JS), stack (full stack trace), and options (the action's options object).
103xxHook Related
10300Unhandled Form hookset typeIssue returned from FileMaker business file caused by not handled utility hook type.
10301Error Updating Environment recordIssue returned from FileMaker when trying to update an Environment record.
10302Error Updating SiteIssue returned from FileMaker when trying to update a Site record (hash5L field doesn't exist).
10900Other
10901DAPI Adapater ErrorIssue thrown by the DAPI adapter in our base code.
10902Client is offlineUser has no internet connection.
10903Unable to get DAPI tokenIssue thrown by the DAPI adapter in our base code when base code was unable to retrieve a valid DAPI token.

Klai Studio documentation