Sub-Tenant URL Problem

What product/components do you use and which version/fix level are you on?

latest

Is your question related to the free trial, or to a production (customer) instance?

Production

What are you trying to achieve? Please describe it in detail.

Creating assets with masked sub tenant URL and querying those without masked sub tenant URL.

Do you get any error messages? Please provide a full error message screenshot and log file.

We used POST API call to create parent and child assets with the masked url. The picture consits of the response of GET API call of the parent asset with masked url.


When we are querying the child asset using GET API call without masked URL. The response is as shown below.

The parents assets that are tagged with c8y_isdevicegroup are not displayed on the groups menu of the cockpit app in the front ens.

Have you installed all the latest fixes for the products and systems you are using?

yes

Hi @prathyusha.kanda,

in case of connecting to the tenant-id URL (t129954457) you need to also provide the tenant-id within the username as: {{tenant-id}}/{{username}}, e.g. t129954457/prathyusha.kanda@mail.com.
Only providing the username is not sufficient.

In Postman it should look e.g. like this:
image

Regards Kai

1 Like

Add to Kai:

Its actually recommended to always use the structure “tenant-id/username”, independent on whether you are working against tenant-id url or url name.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.