# OH-Jama-0102

### Description

When you encounter error OH-Jama-0102, then following error message will appear:\
OH-Jama-0102: Create entity failed as Component/Set/Folder field value is 'Component/Set/Folder field value' and container: 'Component/Set/Folder container name' is not found. Field checkAndCreate is disabled. Enable the same in mapping or configure appropriate Parent link in mapping instead of the field.

### Cause

Probable cause for this issue is:

* For any entity configured for synchronization other than Component/Set/Folder.
* When the **Component/Set/Folder** field is mapped, and a value is coming in the field from the source system, then containers with these names are to be found and added to the aggregated location for the entity.
* If the Component/Set/Folder value is not present and **checkAndCreate** is disabled, this error will be thrown.

> **Note**: By default, check and create of these relative location related fields is disabled in the field mapping.

### Solution

Mapping configuration needs to be updated in this case. Any one of the following configurations needs to be done:

* **Field configuration** – Advanced mapping can be done to enable `"checkAndCreate"` on the Component/Set/Folder field.

  * An attribute named `"checkAndCreate"` needs to be added with value `"true"` in the XSL field tag.

  **Sample mapping:**

  ```xml
  <OH_FolderPath checkAndCreate="true">
    <xsl:value-of xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="SourceXML/updatedFields/Property/OH__FolderPath"/>
  </OH_FolderPath>
  ```


---

# 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/jama-error-solutions/oh-jama-0102.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.
