Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An attempt has been made to invoke JSON.stringify with a value that is not valid. The value argument, an array or object, contains a circular reference.
To correct this error
- Remove the circular reference from the argument.
Example
The code in this example causes a runtime error because john has a reference to mary and mary has a reference to john. to remove the circular reference, either remove or unset the property brother from the mary object or the sister property from the john object.
var john = new Object();
var mary = new Object();
john.sister = mary;
mary.brother = john;
// This line causes a runtime error.
var error = JSON.stringify(john);