I'm trying to create a reference from table1 to table2 for the selected data. However, I am running into some issue while doing so.
At the moment, I am getting the below error:
* message:"The value given - { "profile": ObjectId("64b7ba7c6d42add0a19fbaed") } must be valid JSON."
What to achieve this?