# \[Solved\] Context for Device Connection Log Bug

**URL:** <https://forums.losant.com/t/solved-context-for-device-connection-log-bug/538>\
**Category:** Bug Report\
**Created:** [June 30, 2017, 10:50pm UTC](https://forums.losant.com/t/solved-context-for-device-connection-log-bug/538 "2017-06-30T22:50:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brad](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brad/32/346_2.png) [@brad](https://forums.losant.com/u/brad)\
**Post date:** [June 30, 2017, 10:50pm UTC](https://forums.losant.com/t/solved-context-for-device-connection-log-bug/538/1 "2017-06-30T22:50:37Z")

</div>

I am having an issue using device ID context on the dashboard for a device connection log block. The block displays the correct data if I specify an exact device in the configuration. But if I use `{{ ctx.deviceId }}` the block will not display the expected information. Using that same context variable with other blocks works as expected, so I think I’ve configured the dashboard context correctly.

Please let me know if I need to provide any further info. Thanks.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [June 30, 2017, 11:39pm UTC](https://forums.losant.com/t/solved-context-for-device-connection-log-bug/538/2 "2017-06-30T23:39:00Z")

</div>

You’re right; we see the issue and are looking into it. We’ll let you know when we have a fix deployed!

Thanks for the detailed report and apologies for the bug!

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [July 1, 2017, 3:03am UTC](https://forums.losant.com/t/solved-context-for-device-connection-log-bug/538/3 "2017-07-01T03:03:14Z")

</div>

We just pushed out a fix for this issue. Please let us know if you run into anything else, and thanks again for the bug report!

---

<div class="post-metadata">

**Author:** ![brad](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brad/32/346_2.png) [@brad](https://forums.losant.com/u/brad)\
**Post date:** [July 5, 2017, 6:45pm UTC](https://forums.losant.com/t/solved-context-for-device-connection-log-bug/538/4 "2017-07-05T18:45:14Z")

</div>

Thanks for the quick response and resolution!
