# Missing Attribute in Device?

**URL:** https://forums.losant.com/t/missing-attribute-in-device/2236
**Category:** Help
**Tags:** device-state
**Created:** [October 1, 2019, 6:40pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236 "2019-10-01T18:40:58Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Mark\_Nicholson](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Mark\_Nicholson](https://forums.losant.com/u/Mark_Nicholson)
#### Post date: [October 1, 2019, 6:40pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/1 "2019-10-01T18:40:58Z")

</div>

Dashboard ID: 5d9264aa6cdb3e0006f151f5

I have a device with six attributes.  
In the Device -\> Debug section, I can clearly see all six attribute data coming in via a Webhook, and then into the Device.

However, when I create a new block in the Dashboard, I only see FOUR of the attributes from the device. I’m confused why I don’t see all six attributes???

---

<div class="post-metadata">

### Author: ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)
#### Post date: [October 1, 2019, 7:40pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/2 "2019-10-01T19:40:30Z")

</div>

Hi @Mark_Nicholson,

Welcome to the Losant Forums 🙂

Could you attach a screenshot your block configuration?

---

<div class="post-metadata">

### Author: ![Mark\_Nicholson](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Mark\_Nicholson](https://forums.losant.com/u/Mark_Nicholson)
#### Post date: [October 1, 2019, 7:54pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/3 "2019-10-01T19:54:45Z")

</div>

Thanks!  
Hmm… block config?

Here’s a screen shot of the Dashboard…

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/3/3bf249e7cad0cb4a60dec8fa8fd82079115d193b.png)

…and in the settings of one block, I have:  
-Date Type: Historical  
-Duration: Last received data point  
-Block Data:  
DeviceID: My\_Device  
Attribute: -again, I only see four attributes here… but would expect to see all six??-

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/6/67ea247292206a688b42354579eeb1e467acc2fa.png)

---

<div class="post-metadata">

### Author: ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)
#### Post date: [October 1, 2019, 7:59pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/5 "2019-10-01T19:59:10Z")

</div>

I see, thanks for the info!

So, the Gauge Block can only display attributes of type `Number`. Is it possible that 2 of the attributes on that device aren’t of type `Number`?

You can see all the details of each config option here:

> **[Gauge](https://docs.losant.com/dashboards/gauge/#block-data)**
>
> Learn about adding and configuring a Gauge on a Losant Dashboard.

---

<div class="post-metadata">

### Author: ![Mark\_Nicholson](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Mark\_Nicholson](https://forums.losant.com/u/Mark_Nicholson)
#### Post date: [October 1, 2019, 8:26pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/7 "2019-10-01T20:26:29Z")

</div>

Thanks, again!

The attributes all look like numbers to me:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/8/87d4ff701ae50e34747cdd2a0303951219e4eee0.png)

…and the debug section of the Device shows these values coming in:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/e/e8b36a808a18c5db5427a0d6d3456f68e0697199.png)

…which is why I’m stumped why I don’t see them as attributes for a new block. 😬

---

<div class="post-metadata">

### Author: ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)
#### Post date: [October 1, 2019, 9:02pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/9 "2019-10-01T21:02:30Z")

</div>

Hi @Mark_Nicholson,

I took a look at your dashboard and believe I have located the problem. In your dashboard, you have a two blocks that are configured to display the attribute `GPS` from your device. However, there is not an attribute on your device named `GPS,` so no data is being displayed, and the blocks look as though state was never reported.

 ![12%20PM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/5/5529c09fc56631a2ab563410ddc97d68eff88ca9.png)  
 ![23%20PM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/4/4f86605cdcf302866c94ee0e4acc975c53a14edd.png)

Renaming one of your attributes or creating a new one called “GPS” would solve this, or you can choose another existing attribute to display in the blocks.

Let me know if I can help further!  
Julia

---

<div class="post-metadata">

### Author: ![Mark\_Nicholson](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Mark\_Nicholson](https://forums.losant.com/u/Mark_Nicholson)
#### Post date: [October 1, 2019, 9:18pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/11 "2019-10-01T21:18:16Z")

</div>

Thanks @JuliaKempf - appreciate all the great feedback!

Ah yes… I kind of abandoned the GPS info (for now)… and was trying to just get one of the attributes such as signalStrength, pressure, or battery to show in the dashboard.

I see those coming in (look valid), but can’t figure out why (in the dashboard) I can’t select them as attributes.

I did go back and add a GPS data type for the device… and removed those GPS blocks in the dashboard (just in case those were causing an issue). ???

I guess I’m still trying to figure out how to put signalStrength, pressure, or battery in the dashboard via a block (if I can’t see them as attributes in the edit-block)?

---

<div class="post-metadata">

### Author: ![Mark\_Nicholson](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Mark\_Nicholson](https://forums.losant.com/u/Mark_Nicholson)
#### Post date: [October 1, 2019, 9:22pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/13 "2019-10-01T21:22:09Z")

</div>

Hmm… found out they’re showing up as values in the Dashboard context… I don’t think I need to enable them (this is just FYI… and good to see them _somewhere_):

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/6/6c7e8e48084a5d14820aacc1cd5b4b02abc4f762.png)

---

<div class="post-metadata">

### Author: ![Mark\_Nicholson](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Mark\_Nicholson](https://forums.losant.com/u/Mark_Nicholson)
#### Post date: [October 1, 2019, 9:25pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/14 "2019-10-01T21:25:35Z")

</div>

Ah! If I setup one of those variables as a context… then I can select it as an attribute in the block.  
??? I dunno… it’s reporting what I want (now) in the dashboard, but this seems like the long way to go about getting it? Open to suggestions. 😀

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/4/402beabdd0ec9a1fd0d0e5cea36e2117441cc67f.png)

---

<div class="post-metadata">

### Author: ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)
#### Post date: [October 2, 2019, 2:10pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/15 "2019-10-02T14:10:18Z")

</div>

Hi @Mark_Nicholson,

The source of this issue is not clear to me, when I visit your Gauge Block, I am able to scroll and see all of your attributes:

 ![39%20PM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/d/d23575ffc752953793b55dc95d70bdd3e3f04772.png)

Could you provide your browser and version?

Thanks!  
Julia

---

<div class="post-metadata">

### Author: ![Mark\_Nicholson](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Mark\_Nicholson](https://forums.losant.com/u/Mark_Nicholson)
#### Post date: [October 2, 2019, 2:53pm UTC](https://forums.losant.com/t/missing-attribute-in-device/2236/16 "2019-10-02T14:53:14Z")

</div>

ARGH! Exactly what I was looking for.  
It must have been a browser issue… I checked Chrome on another computer and all the attributes came up fine… went back to main computer and refreshed the browser view, and now they’re showing up A-OK. Thanks for the patience… really appreciate it.
