JSON Error in Node-RED

Hello everyone,

I am trying to get a output in a JSON format, but I'm getting the following error: "Unexpected token = in JSON at position 0".

How can I solve this problem?

Add some debug nodes to the outputs of the nodes before your JSON node to see what info is being passed to the JSON node