Hello,
We’ve been using Losant for about a year while developing our new product. Within the last month I’ve started seeing the following error appear after the Dashboard and Technician View pages have loaded. I can get rid of the error by refreshing the page.
We’re using Losant to interact with Particle. We haven’t changed anything on the Losant backend. We have a test fleet of 7 devices. I moved 1 of those devices into a Particle Product from the Particle Sandbox, but this issue appears for devices in both the Product and the Sandbox, so I don’t think it’s due to that.
I’m not a programmer. I spent a couple hours troubleshooting with ChatGPT, and it’s notes are below, if that’s helpful. Can you please assist? Thank you.
ChatGPT Summary Below
We’re experiencing an intermittent issue with embedded dashboards in our Losant Experience application (Ascension Lift IoT Platform).
Both our Dashboard and Technician View pages initially load correctly but subsequently display the following error:
“Invalid context. Network Error. You attempted to set invalid context variables.”
The error sometimes occurs within approximately one minute, while other times the dashboards operate normally for 15 minutes or longer.
We’ve investigated using Chrome Developer Tools and found the following:
· Multiple HTTP 502 Bad Gateway responses from api.losant.com, including requests to the /dashboards/{dashboardId}/validateContext and /dashboards/{dashboardId}/data endpoints.
· The 502 responses identify nginx as the responding server.
· Successful validateContext responses return “success”: true, with all three context variables (deviceId, connectionTime, and connected) validated successfully.
· The issue affects multiple devices, including devices associated with different Particle products.
· Other Experience functionality, including the Events page, appears to remain operational.
We’ve reviewed the Experience workflow responsible for constructing the dashboard context and haven’t identified an obvious configuration problem.
Could you please investigate whether these API failures are related to the Invalid Context errors we’re experiencing? We’d also appreciate guidance on whether there is anything in our application configuration that could be contributing to the problem.
We can provide redacted screenshots of the relevant network requests and responses if helpful.

