> For the complete documentation index, see [llms.txt](https://docs.swingsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swingsoftware.com/pdf-converter-for-notes/troubleshooting/error-messages/type-mismatch.md).

# Error - Type mismatch in method OP\_CHECK\_TOS\_INST AINSTANCE found, Unknown expected

## **Description**

The following error message appears:

![](https://3331713008-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MlCAurE6RSGoCmtmAET%2F-MlFCxsgjHFr5pWkJmVX%2F-MlFEVVUakansDjetGd6%2Fimage.png?alt=media\&token=813ebac7-0725-4ce3-8702-33e9a017068f)

## **Solution**

This error is a general error for which there may be many different causes.

The cause of the problem can usually be detected in the Java Debug Console. You would need to activate the Java Debug Console in your Notes client (Tools - Show Java Debug Console)  and try to convert some documents again. When the error occurs please copy the content from the Console and email to <support@swingsoftware.com> and the support team will investigate the issue

It is also helpful if you can send the documents being converted, as per this [article](https://sites.google.com/a/swingsoftware.com/lc/pdf-converter/how-to/sending-documents).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.swingsoftware.com/pdf-converter-for-notes/troubleshooting/error-messages/type-mismatch.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
