# File

| Code | Error                             | Description                          |
| ---- | --------------------------------- | ------------------------------------ |
| -501 | K\_ERROR\_FILE\_COPY              | Error copying file                   |
| -502 | K\_ERROR\_FILE\_SEARCH            | Error searching files                |
| -503 | K\_ERROR\_FILE\_OPEN              | Error opening file                   |
| -504 | K\_ERROR\_FILE\_CLOSE             | Error closing file                   |
| -505 | K\_ERROR\_FILE\_IMAGE\_LOAD       | Error loading image file             |
| -506 | K\_ERROR\_FILE\_IMAGE\_SAVE       | Error saving image file              |
| -507 | K\_ERROR\_FILE\_READ              | Error reading from file              |
| -508 | K\_ERROR\_FILE\_WRITE             | Error writing to file                |
| -509 | K\_ERROR\_FILE\_NOT\_FOUND        | Specified file not found             |
| -510 | K\_ERROR\_FILE\_INVALID\_CONFIG   | Invalid file configuration specified |
| -511 | K\_ERROR\_FILE\_NOT\_OPEN         | Specified file not open              |
| -512 | K\_ERROR\_FILE\_END\_OF\_FILE     | End of file reached                  |
| -513 | K\_ERROR\_FILE\_DELETE            | Error deleting file                  |
| -514 | K\_ERROR\_FILE\_MOVE              | Error moving file                    |
| -515 | K\_ERROR\_FILE\_DIRECTORY\_CREATE | Error creating directory             |
| -516 | K\_ERROR\_FILE\_DIRECTORY\_DELETE | Error deleting directory             |


---

# 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/file.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.
