cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Time series is only displayed on Dashboard refresh

SS_11874882
2-Explorer

Time series is only displayed on Dashboard refresh

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)

ACCEPTED SOLUTION

Accepted Solutions

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


Vilia (my company) | GitHub | LinkedIn

View solution in original post

4 REPLIES 4

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


Vilia (my company) | GitHub | LinkedIn

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?

 

 

 

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


Vilia (my company) | GitHub | LinkedIn

Hi @SS_11874882 

It appears that there is a reply that answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,

Charles

Announcements


Top Tags