converting circular structure to json stack overflow code example
Example: Converting circular structure to JSON
//The error means that the object you pass in the request has a circular reference, something like:
var a = {};
a.b = a;
//The error means that the object you pass in the request has a circular reference, something like:
var a = {};
a.b = a;