AWS Rekognition


Im using this plugin to run liveness check Aws Liveness & Biometrics Check Plugin | Bubble

But i got this error response

Any idea how to solve this?

Thank you

What’s happening is you’re trying to convert an object that has circular reference, to a string.
Converting such object to a string would cause the JSON.stringify function to go into infinite recursion
Here’s a super basic example of such an object. Person points to a set of entries, and each entry points back to the person

let person = { name: "dude" };
let entry = { text: "hello", person };
person['entries'] = [entry];

If you have access to the source code that does the JSON stringification, you can pass a custom replacer method to it, to deal with this scenario