Do you use Alteryx in a language other than English? If so, we want to hear from you! Please help us improve the international experience of our products by participating in this 5 minute survey.

We are updating the requirements for Community registration. As of 7/21/21 all users will be required to register a phone number with their My Alteryx accounts. If you have already registered, you will be prompted on your next login to add your phone number.

Dev Space

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

JSON.Stringify is not a function

rpaugh
11 - Bolide

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 perfectly...now 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?

2 REPLIES 2
NeilR
Alteryx Community Team
Alteryx Community Team

Did you try lowercase S: JSON.stringify()

rpaugh
11 - Bolide

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()".