# assetData, exchange data problem

**URL:** <https://mangoh.discourse.group/t/assetdata-exchange-data-problem/1054>\
**Category:** Cloud & Connectivity\
**Created:** [January 3, 2018, 8:42am UTC](https://mangoh.discourse.group/t/assetdata-exchange-data-problem/1054 "2018-01-03T08:42:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nilsarve](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nilsarve](https://mangoh.discourse.group/u/nilsarve)\
**Post date:** [January 3, 2018, 8:42am UTC](https://mangoh.discourse.group/t/assetdata-exchange-data-problem/1054/1 "2018-01-03T08:42:16Z")

</div>

Hello

I’m testing the assetData example as I need to send commands to my mangoh red system running legato 17.11 on the wp8548.

I follow this tutorial and request data works (but there is a typo) se below:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/d06eabd598cd4b7c305588d507abaed6cdac11d2.png)  
Supposed to be “assetData.home **1**.room1.AC.IsACOn”  
“apply setting” works fine but “send command” has a small bug:

It sends the command to the mangoh and the asset data is found but the airvantage page reads “in progress” and blocks new commands etc. until it is aborted manually.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/82acaee0fe26351f9228be34913c703a35bbdb4e.png)

Now I try to implement this in my own app with two processes running but I get:  
“Server attempts to execute a command but the asset data doesn’t exist”.  
Do I replace assetData with the name of my app or my process or do they have to be the same?

---

<div class="post-metadata">

**Author:** ![nilsarve](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nilsarve](https://mangoh.discourse.group/u/nilsarve)\
**Post date:** [January 3, 2018, 11:12am UTC](https://mangoh.discourse.group/t/assetdata-exchange-data-problem/1054/2 "2018-01-03T11:12:39Z")

</div>

Got “apply settings” working on my device. It’s the app name that replaces assetData.

But can settings be sent from airvantage web site or do I have to use rest api with legato 17.11?

---

<div class="post-metadata">

**Author:** ![nilsarve](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@nilsarve](https://mangoh.discourse.group/u/nilsarve)\
**Post date:** [January 3, 2018, 2:16pm UTC](https://mangoh.discourse.group/t/assetdata-exchange-data-problem/1054/3 "2018-01-03T14:16:27Z")

</div>

Hang on. Can’t get “apply settings” in assetData to work.

On startup I get this error:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/1X/b56a26c71c24fafea79ca2c9d43127615912283a.png)  
“Asset (/assetData/home1/room1/thermostat/targetTemp) does not have write permission for client access.”

And if I print the TargetTempSet it is always zero and not the value I push with the REST API.

Edit: Got my application working using le\_avdata\_GetString instead.
