Hi there, i have been trying to search records using softr’s database api and it always returns “Unrecognized field in request payload“ even if the field id is correct.
I tried getting all the contents without specifying the field id and i was successful in doing so but only on the documentation playground.
this payload returns the same message when i try to do it on make or n8n while it returns all the contents when i try to do it in the documentation playground
{
“filter”: {
“operator”: “AND”,
“leftSide”: “”,
“rightSide”: “”,
“lowerBound”: “”,
“upperBound”: “”,
“conditions”: “”
},
“sort”: {},
“paging”: {
“offset”: 0,
“limit”: 10
}
}
this is the error message i received on n8n
400 - “{\“message\”:\“Invalid payload\”,\“errorCode\”:\“UNKNOWN_FIELD\”,\“details\”:{\“operator\”:\“Unrecognized field in request payload\”}}”
I even tried the solution mentioned in this post but it still breaks when i try to add the paging info to the request body.
there is not enough information or example on the documentation page on how to manipulate the fields object in JSOn body.
Also one more thing i noticed is that the post endpoint for searching records is creating new records and filling the lookup field of the related record which i am using to search the table