Hi All,
I keep having this problem since yesterday while for the past 2 months it has been working totally fine and now my website is broken.
In the code, I do a query to insert an object in a collection and I have a field that is referencing another collection (using “location”: {ref: business.items[0]._id}). In the DB, I get
I haven’t changed any code. Is it a Wix problem?
Please help, as my website is not usable anymore.
Thank you very much.
Luca
It looks like it already gives you the answer in that pic with the error message of ‘Cell value type is JS Object. Change…’
Plus, no it is not a Wix problem, you just need to change your code to as it says in the error.
https://www.wix.com/corvid/forum/community-discussion/cell-value-type-is-js-object-change-to-text
https://www.wix.com/corvid/forum/community-discussion/help-how-to-query-filter-data-from-referenced-collections
Hey, thanks for the answer!
It was working before (for like 2 months) and I wouldn’t know how to change it: what is a reference object? I have read that we should use {ref: id}
Do you have any suggestion?
Thank you