Skip to main content
1-Visitor
July 25, 2025
Solved

Time series is only displayed on Dashboard refresh

  • July 25, 2025
  • 1 reply
  • 627 views

I am using ThingWorx Platform Release 9.2 and DatecodeSP9

In the Dashboard, when navigating to the Output tab and toggling between Bags/min and Kg/hour, the Time-Series Chart widget fails to display data upon the initial load of the mashup. However, when the Refresh button on the Dashboard is clicked, the data loads successfully after a few seconds. We have verified all bindings and services associated with the mashup and the Time-Series Chart widget. During debugging, we confirmed that all services are loading correctly. However, upon inspecting the browser console, we encountered a runtime error related to the Time-Series Chart widget. please find the error message below - mashup-vendor-runtime.js?_v=9.2.6:409 POST https://meswebgsft-saltillo.azure.intra.pepsico.com/Thingworx/Things/GEArea_PC50Packaging/Services/getProductDescription?Accept=application%2Fjson-compressed&_twsr=1&Content-Type=application%2Fjson 500 (Internal Server Error)

Here are the errors that I faced
mashup-vendor-runtime.js?_v=9.2.6:409 POST https://meswebgsft-saltillo.azure.intra.pepsico.com/Thingworx/Things/GEArea_PC50Packaging/Services/getProductDescription?Accept=application%2Fjson-compressed&_twsr=1&Content-Type=application%2Fjson 500 (Internal Server Error)

Best answer by Constantine

Hello,

 

"500 (Internal Server Error)" means that the "getProductDescription" service on the "GEArea_PC50Packaging" thing threw an exception. You can see the details in Composer > Script Log.

 

/ Constantine

1 reply

18-Opal
July 28, 2025

Hello,

 

"500 (Internal Server Error)" means that the "getProductDescription" service on the "GEArea_PC50Packaging" thing threw an exception. You can see the details in Composer > Script Log.

 

/ Constantine

1-Visitor
July 30, 2025

Hello Constantine,

Thank you for the solution you provided earlier. We've updated the service code for getProductionDescription, and the previous console error has been resolved.

However, we are now encountering a new error in the console:

"mashup-vendor-runtime.js?_v=9.2.6:2683 Error: <rect> attribute height: A negative value is not valid. ("-12.711488")
v @ mashup-vendor-runtime.js?_v=9.2.6:2683"

 

Could you please advise on how to resolve this issue?

 

 

 

18-Opal
July 30, 2025

Hello,

 

Just a shot in the dark -- it seems like you are trying to display a negative value in a bar chart. Check your min/max properties, if you have any charts on your mashup.

 

/ Constantine