# iPhone Particle app Particle.variable() Error

**URL:** <https://community.particle.io/t/iphone-particle-app-particle-variable-error/27131>\
**Category:** Troubleshooting\
**Created:** [November 8, 2016, 5:20pm UTC](https://community.particle.io/t/iphone-particle-app-particle-variable-error/27131 "2016-11-08T17:20:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [November 8, 2016, 5:20pm UTC](https://community.particle.io/t/iphone-particle-app-particle-variable-error/27131/1 "2016-11-08T17:20:27Z")

</div>

I have 3 asset trackers, and am having trouble using Particle app v2.0 on iPhone 10.0.2 reading from cloud the string variables sent by ELECTRON. Usually they read correctly, but today mostly they do not.  
Screen below of when it reads ok, and when it shows ‘error’. Firmware source at bottom.

The version of firmware has been working great in the past. Today, awful.

Each tracker has a GPS fix (no red GPS LED).

WHEN IT FAILS…  
 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/d/d2d92f60cddb093cd36eebac4d35cf195c8f52be.PNG)

WHEN IT’S WORKING…

 ![](https://us1.discourse-cdn.com/flex026/uploads/particle/original/2X/3/32176e071bd04cafd016f5fa557ac417686e4850.PNG)

ELECTRON CODE:  
String publication\_Lat\_Lon; // Lat. and Long data from AssetTracker object  
String version\_PROGRAM\_TITLE = PROGRAM\_VERSION;

void setup(){  
…  
Particle.variable( “Version”, version\_PROGRAM\_TITLE );  
Particle.variable( “g”, publication\_Lat\_Lon );  
…  
}

void loop(){  
…  
publication\_Lat\_Lon = String::format( “%f,%f”, latest\_good\_latitude, latest\_good\_longitude );  
…}

---

<div class="post-metadata">

**Author:** ![Moors7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/moors7/32/588_2.png) [@Moors7](https://community.particle.io/u/Moors7)\
**Post date:** [November 8, 2016, 8:16pm UTC](https://community.particle.io/t/iphone-particle-app-particle-variable-error/27131/2 "2016-11-08T20:16:26Z")

</div>

Could you use something else to check that variable to rule out issues with the app? The CLI, DEV, [this page](http://jordymoors.nl/interface) should all be able to do so.

---

<div class="post-metadata">

**Author:** ![douglaskbell](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@douglaskbell](https://community.particle.io/u/douglaskbell)\
**Post date:** [November 9, 2016, 7:40pm UTC](https://community.particle.io/t/iphone-particle-app-particle-variable-error/27131/3 "2016-11-09T19:40:17Z")

</div>

Thanks, Moors7, I will.  
Presently, there’s no problem; iOS Particle app is reading all 3 asset trackers ok.
