# Invalid context variables for experience page dashboard

**URL:** <https://forums.losant.com/t/invalid-context-variables-for-experience-page-dashboard/4587>\
**Category:** Bug Report\
**Tags:** experience, dashboard\
**Created:** [June 15, 2022, 4:10am UTC](https://forums.losant.com/t/invalid-context-variables-for-experience-page-dashboard/4587 "2022-06-15T04:10:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jules\_Huguenin](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/jules_huguenin/32/4031_2.png) [@Jules\_Huguenin](https://forums.losant.com/u/Jules_Huguenin)\
**Post date:** [June 15, 2022, 4:10am UTC](https://forums.losant.com/t/invalid-context-variables-for-experience-page-dashboard/4587/1 "2022-06-15T04:10:54Z")

</div>

Hi there,  
I noticed that all the context variables are missing from my experience page dashboards:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/6/656558eca4ab02ba4940023e41f1c4248514d27f.png)

And when I try to enter them again:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/c/c797bb1d8d6dadffe2a4f03d34798cc3daf5b8cd.png)

They are not accepted:

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

Note that both of those context variables are defined in the dashboard:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/7/7b66851373adfa280fbadb25fefeb248cdfb6f1e.png)

Any idea what could be wrong here?  
Cheers  
Jules

---

<div class="post-metadata">

**Author:** ![Sebastian\_Turner](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sebastian_turner/32/4024_2.png) [@Sebastian\_Turner](https://forums.losant.com/u/Sebastian_Turner)\
**Post date:** [June 15, 2022, 1:26pm UTC](https://forums.losant.com/t/invalid-context-variables-for-experience-page-dashboard/4587/2 "2022-06-15T13:26:11Z")

</div>

We are working on resolution of this issue and will let you know as soon as we have an update. Thanks for bringing this to our attention!

---

<div class="post-metadata">

**Author:** ![IoT\_Hub](https://avatars.discourse-cdn.com/v4/letter/i/87869e/32.png) [@IoT\_Hub](https://forums.losant.com/u/IoT_Hub)\
**Post date:** [June 15, 2022, 2:55pm UTC](https://forums.losant.com/t/invalid-context-variables-for-experience-page-dashboard/4587/3 "2022-06-15T14:55:15Z")

</div>

Omg I almost went insane. I thought I was crazy trying to replicate a platform using context and nothing work. Please report when the functionality is repaired.

Edit: I also want to add some information. I have a platform that works like this:

ENDPOINT

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

WORKFLOW

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

PAGE (its a Dashboard. Notice it doesnt have context variables here)

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

DASHBOARD (The redirection is [https://platform.onlosant.com/deviceDetails/bar/](https://platform.onlosant.com/deviceDetails/bar/) **6176ccfe4cd54f0007bcd6ea** )  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/f/fc4dd660152a53726ab63c1c40e243536710d405.png)

So long story short, this platform is working properly. But this afternoon i was trying to create a new platform replicating the same schema (this is, using and Endpoint like /deviceDetails/{deviceId} ) but this is not working properly anymore, so the redirection could not be made.

I also tried what Jules made (setting context variable in the PAGE), but it doesnt work.

The only way to surpass the error is using:  
Context Variable Name: {{deviceId-0}}  
Value: {{request.params.deviceId.value}}

But the problem is that this doesnt work as variable context for any dashboard.

Hope the problem is clear enough. Greetings

---

<div class="post-metadata">

**Author:** ![Sebastian\_Turner](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sebastian_turner/32/4024_2.png) [@Sebastian\_Turner](https://forums.losant.com/u/Sebastian_Turner)\
**Post date:** [June 15, 2022, 5:40pm UTC](https://forums.losant.com/t/invalid-context-variables-for-experience-page-dashboard/4587/4 "2022-06-15T17:40:14Z")

</div>

This should now be resolved. Hard-refresh your browser to ensure the update is pulled down. You may also need to re-add your context variables on your dashboard. Please let me know if you continue to have issues!
