# Getting Invalid JSON of clientData

**URL:** https://openvidu.discourse.group/t/getting-invalid-json-of-clientdata/4461
**Category:** Request for enhancement
**Created:** [March 1, 2023, 11:13am UTC](https://openvidu.discourse.group/t/getting-invalid-json-of-clientdata/4461 "2023-03-01T11:13:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![piyush\_khatana](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/piyush_khatana/32/2160_2.png) [@piyush\_khatana](https://openvidu.discourse.group/u/piyush_khatana)
#### Post date: [March 1, 2023, 11:13am UTC](https://openvidu.discourse.group/t/getting-invalid-json-of-clientdata/4461/1 "2023-03-01T11:13:11Z")

</div>

Hi Team,

I’m getting invalid JSON of client data.  
{“clientData”:“Participant”,“participantId”:“0\_nfdk7jdpru8”,“type”:“CAMERA”}%/%{}  
Due to this nickname of remote participant not showing correctly.

---

<div class="post-metadata">

### Author: ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)
#### Post date: [March 1, 2023, 11:36am UTC](https://openvidu.discourse.group/t/getting-invalid-json-of-clientdata/4461/2 "2023-03-01T11:36:52Z")

</div>

Hi,

This is a remanent of a bad design decission that was took years ago, and in favor of not going through breaking changes it has remained that way: [Share data between users - OpenVidu Docs](https://docs.openvidu.io/en/2.25.0/cheatsheet/share-data/)  
If you provide participant metadata through both the client side (with openvidu-browser SDK) and server side (with REST API / Java SDK / Node SDK) then both strings will be separated by string **`%/%`**. You must parse it before accessing both JSONs.  
We will probably change this with a breaking change soon, becasue this makes no sense at all.

Best regards.
