# Configuration contains ingress/asset with URL which already has asset attached to it in your tenant

Issue&#x20;

When you try to connect an agent to management and get the next error:

"Configuration contains ingress/asset with url which already has an asset attached to it in your tenant. ReferenceID: \<ReferenceID>"&#x20;

### Fix

Please follow these steps:

1. Navigate to the assets tab in the management portal and remove existing assets with the same URL&#x20;
2. &#x20;Enforce the change
3. Try to connect again

If the existing asset is locked (usually this is the case when connected to a declarative management profile):

{% hint style="warning" %}
These steps should be followed only if the profile is not connected to any other active agents or assets.
{% endhint %}

1. Identify the profile the asses is connected to
2. Navigate to the "Profile Tab" and change the management type to "This Management"&#x20;

<figure><img src="/files/txAWlAv7A4fnaS5hULdn" alt=""><figcaption></figcaption></figure>

1. Enforce the change
2. Navigate to the assets tab in the management portal and remove existing assets with the same URL&#x20;
3. &#x20;Enforce the change
4. Try to connect again


---

# 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://docs.openappsec.io/troubleshooting/troubleshooting-guides/configuration-contains-ingress-asset-with-url-which-already-has-asset-attached-to-it-in-your-tenant.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.
