# Error in ds.unique

**URL:** <https://datashield.discourse.group/t/error-in-ds-unique/814>\
**Category:** Analyst Support\
**Created:** [7 July 2023 09:56 UTC](https://datashield.discourse.group/t/error-in-ds-unique/814 "2023-07-07T09:56:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![InesAmine](https://avatars.discourse-cdn.com/v4/letter/i/c6cbf5/32.png) [@InesAmine](https://datashield.discourse.group/u/InesAmine)\
**Post date:** [7 July 2023 09:56 UTC](https://datashield.discourse.group/t/error-in-ds-unique/814/1 "2023-07-07T09:56:22Z")

</div>

Dear all,

I am using ds.unique for the first time but immediately got an error. My aim was to see if there was any duplicated children in my dataset using their ID.

```auto
ds.unique("outcome$child_id",newobj="unique_id",datasources=connections)

```

```auto
Assigned expr. (unique_id <- uniqueDS("outcomes_non_rep$child_id")) [=====>------------] 33% / 0sError: There are some DataSHIELD errors, list them with datashield.errors()
> datashield.errors()
$pelagie
[1] "Bad request: "

$eden
[1] "Bad request: "`

```

Does anyone know how to solve it?

For information I am using the lifecycle analysis platform with profile Xenon but defined profiles to “default” for the two servers involved.

Do not hesitate if you need more information on my code.

Best,

Ines

---

<div class="post-metadata">

**Author:** ![demetris.avraam](https://avatars.discourse-cdn.com/v4/letter/d/439d5e/32.png) [@demetris.avraam](https://datashield.discourse.group/u/demetris.avraam)\
**Post date:** [7 July 2023 10:47 UTC](https://datashield.discourse.group/t/error-in-ds-unique/814/2 "2023-07-07T10:47:04Z")

</div>

Hi Ines,

The ds.unique function was first introduced in dsBaseClient 6.2.

So while the Xenon profile in the lifecycle analysis server includes dsBaseClient 6.3, the “default” profiles for eden and pelagie include dsBase 6.1 and therefore the server-side function uniqueDS is not available for these cohorts yet.

We need to wait for them to install the server-side “xenon” profile that includes dsBase 6.3.

Best wishes, Demetris

---

<div class="post-metadata">

**Author:** ![InesAmine](https://avatars.discourse-cdn.com/v4/letter/i/c6cbf5/32.png) [@InesAmine](https://datashield.discourse.group/u/InesAmine)\
**Post date:** [7 July 2023 11:14 UTC](https://datashield.discourse.group/t/error-in-ds-unique/814/3 "2023-07-07T11:14:20Z")

</div>

Hi Demetris,

Ok, I get it. Thanks a lot for your quick response.

Best, Ines
