# General

| Code | Error                                          | Description                                                                                                                    |
| ---- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| -1   | K\_ERROR\_GENERIC                              | Unspecified generic error                                                                                                      |
| -2   | K\_ERROR\_REFRESH                              | Error loading the content of a control                                                                                         |
| -3   | K\_ERROR\_PRINTING                             | Error printing                                                                                                                 |
| -4   | K\_ERROR\_EXEC\_APPLICATION                    | Error executing external application                                                                                           |
| -5   | K\_ERROR\_MEMORY\_ALLOCATION                   | Error in memory allocation or insufficient memory available                                                                    |
| -6   | K\_ERROR\_INVALID\_PARAMETER                   | Invalid parameter or missing parameter                                                                                         |
| -7   | K\_ERROR\_INVALID\_PRIMARY\_KEY                | Invalid primary key specified. (Ex: “UpdateRecord” without all the keys in the table being specified)                          |
| -8   | K\_ERROR\_USER\_CANCELED                       | The user canceled the operation                                                                                                |
| -9   | K\_ERROR\_ONLY\_FOR\_WINDOWS\_MOBILE           | The function executed is only available for Windows Mobile and this is not a Windows Mobile client                             |
| -10  | K\_ERROR\_NOT\_AVAILABLE\_FOR\_CURRENT\_CLIENT | The function executed is not available for this Kalipso client                                                                 |
| -11  | K\_ERROR\_ONLY\_FOR\_WINCE                     | The function executed is only available for Windows CE or Windows Mobile and this is not a Windows CE or Windows Mobile client |
| -12  | K\_ERROR\_ALREADY\_CONNECTED                   | The connection/activation request failed because the connection/activation is already done                                     |
| -13  | K\_ERROR\_NOT\_CONNECTED                       | The disconnection/deactivation request failed because it is already disconnected/deactivated                                   |
| -14  | K\_ERROR\_LOADING\_FILE                        | Error loading file (ex: loading image file)                                                                                    |
| -15  | K\_ERROR\_SAVING\_TO\_FILE                     | Error saving to file (ex: saving image file)                                                                                   |
| -16  | K\_ERROR\_IMAGE\_OPERATION                     | Error making an image operation (ex: Resize, Rotate, Change Type,...)                                                          |
| -17  | K\_ERROR\_NOT\_FOUND                           | Error making an operation on a object. The object was not found.                                                               |
| -18  | K\_ERROR\_CONNECTION\_ACTIVATE                 | Error activating a network connection                                                                                          |
| -19  | K\_ERROR\_COMMUNICATION\_MIS                   | Error in file transfer/synchronization with MIS Communicator                                                                   |
| -20  | K\_ERROR\_USER\_PERMISSION                     | User did not give permission                                                                                                   |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/error-codes/general.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
