# OH-Connector-0450

### Description

When you encounter **OH-Connector-0450**, then the following error message appears:

**OH-Connector-0450**: An error occurred while getting the input stream for attachment for entity id: \[\<entity id>] and stream URI :\[\<attachmentURI>]. Please check if the attachment is present in the source or if it can be accessible by the integration user or not. If you want to skip such attachments globally for all the systems, go to System Configuration → opshub system → select 'Skip the attachments for which content is not found in source' as 'Yes'.

### Cause

From system A to system B an entity is getting synchronized. This entity has attachment `filename.txt`. Now, during synchronization, while getting the content of the source attachment, if an attachment with URI `http://&lt;serverurl&gt;:8080/secure/attachment/201908/filename.txt` is no longer accessible from the end system, then the user will get the following error:

```
com.opshub.eai.core.exceptions.OIMAttachmentException: OH-Connector-0450: An error occurred while getting the input stream for attachment for entity id: [E1] and stream URI :<serverurl>:8080/secure/attachment/201908/filename.txt. Please check if the attachment is present in the source or if it can be accessible by the integration user or not. If you want to skip such attachments globally for all the systems, go to System Configuration -> opshub system -> select 'Skip the attachments for which content is not found in source' as 'Yes'.
```

### Solution

1. In this case, if the user wants to still migrate the entity by skipping all such attachments which are not accessible, then follow the steps given below:
   * Go to 'System configuration' list page
   * Open **opshub system** in the 'System Configuration' page
   * From here, select the **Skip the attachments for which content is not found in source** as **Yes**

<div align="center"><img src="/files/w4XlmCcaNwT2ap0NKDzT" alt=""></div>

> **Note**: This option will start skipping the attachments from all the systems for which <code class="expression">space.vars.SITENAME</code> can determine the attachments which are not found.


---

# 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://opstech.gitbook.io/opstech-docs/7.223/help-center-index/troubleshooting-index/errors-index/common-error-solutions/oh-connector-0450.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.
