# OH-TFS/AzureDevOps-1119

### Description

When you encounter error OH-TFS/AzureDevOps-1119 then the following error message will appear:

'OH-TFS/AzureDevOps-1119:Error occurred while creating/updating a dashboard. You can either give Owner field value or Owned by team field value for creating a dashboard. Please update the mapping configured. Owner value is and Owned by team value is `<team name>`'

### Cause

Following is the reason for this:

1. In Team Foundation Server/Azure DevOps, a **Dashboard** can be created with **Dashboard Type** as **Project Dashboard** or a **Team Dashboard**.
   * For creating a Team Dashboard, **Owned by team** field is used and for creating a **Project Dashboard**, **Owner** field is used.
   * If both the fields are passed during create and both have some values, then <code class="expression">space.vars.SITENAME</code> is unable to identify whether a **Project Dashboard** needs to be created or a **Team Dashboard** needs to be created.
   * In this case, <code class="expression">space.vars.SITENAME</code> throws this error.

### Solution

* You need to make sure that the source system is sending value in any one of the **Owner** and **Owned by team** fields.
* You can configure the field mapping such that, **Owned by team** field is set when **Team Dashboard** needs to be created and **Owner** field is set when **Project Dashboard** needs to be created in target end system.


---

# 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/tfs-error-solutions/oh-tfs-azure-devops-1119.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.
