> 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/engineering-reference-docs/betterforms-error-pages-api/error-code-list.md).

# Error Code List

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