Showing results for 
Search instead for 
Did you mean: 

Dev Space

Customize & extend the power of Alteryx. SDKs, APIs, custom tools, and more!

JSON.Stringify is not a function


This is a weird one.  Some of the data I will be sending to the output stream for a custom JS tool will be in JSON format.  I used "JSON.Stringify()" to convert it to a string and output it, which worked it doesn't.  My code has not changed, but I'm suddenly getting this error.  Any insights into why the JS engine file would suddenly stop recognizing built-in javascript functions?

Sr. Community Content Manager
Sr. Community Content Manager

Did you try lowercase S: JSON.stringify()


Ok, stupid mistake.  I must've had a typo or something because the function is case-sensitive and I was apparently typing a capital "S".  The correct method is "JSON.stringify()".