Skip to main content
11-Garnet
August 24, 2022
Solved

org.mozilla.javascript.UniqueTag@5c998613: NOT_FOUND issue

  • August 24, 2022
  • 1 reply
  • 2902 views

SM_10230689_1-1661372012134.png

In the above screenshot i am getting value for propName in line 2 , but while using same value in (nested loop) line 3 getting issue as "org.mozilla.javascript.UniqueTag@5c998613: NOT_FOUND". 

But while using actual value instead of propName in line no 3, its working fine.

 

Please let me know if any issue is there in code. Thanks in advance.

 

Best answer by nmilleson

@SM_10230689 ,

 

Try: 

 

results[propName].Content.Items.length;

 

Right now your code is looking for a property called "propName" on your results object... to use the value that you've assigned to propName, it needs to be in square brackets.

 

-Nick

1 reply

nmilleson17-PeridotAnswer
17-Peridot
August 25, 2022

@SM_10230689 ,

 

Try: 

 

results[propName].Content.Items.length;

 

Right now your code is looking for a property called "propName" on your results object... to use the value that you've assigned to propName, it needs to be in square brackets.

 

-Nick