Skip to main content
13-Aquamarine
January 24, 2024
Solved

I d return of the correct type, but get org.mozilla.javascript.UniqueTag@3b4f00ba: NOT_FOUND

  • January 24, 2024
  • 2 replies
  • 826 views

Hi,

I am developing a service that collects information about fies in a comma separated list.

 

I have another service dependent on it and it calles the first service and saves the result in a variable.

 

The result is saved to let result and the output is set to string. Despite this I get the error bellow in my second service wrapping the service returning the csv list.

 

The error I get is: filepaths is org.mozilla.javascript.UniqueTag@3b4f00ba: NOT_FOUND. It occures if output set to a particular type, but it is not returned by the code.

 

For reference, see: Article - CS232922 - org.mozilla.javascript.UniqueTag@<ID>: NOT_FOUND is seen when running a Service in ThingWorx Platform (ptc.com)

 

Is there any thing else that can call the error that I describe?

 

 

Kind Regards

Oskar Berntorp

Best answer by Bikash_Panda

Hey @oskarberntorp , You would get this error when there is a type mismatch or the result variable is not used. Need to ensure that the result is getting set in the service with proper data type content as mentioned in service result type.

2 replies

19-Tanzanite
January 25, 2024

Hi @oskarberntorp 

 

Could you please post your code or some screenshot to understand issue better

 

/VR

14-Alexandrite
January 31, 2024

Hey @oskarberntorp , You would get this error when there is a type mismatch or the result variable is not used. Need to ensure that the result is getting set in the service with proper data type content as mentioned in service result type.