Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1523

Failed to filter records from 'Table'.\narray_search() expects parameter 2 to be array, string given

$
0
0

@denis wrote:

Getting a 500 error when sending a GET request to a MongoDB service resource with defined fields while also fetching related data in the same db.

DreamFactory Version: 2.14.0

URL
/api/v2/mongodb/_table/SampleTable?fields=SampleNumber&related=SampleResultsTable_by_SampleNumber

Error
Failed to filter records from ‘SampleTable’.\narray_search() expects parameter 2 to be array, string given.

Everything works as expected when no specific fields are defined and related data is fetched or when fields are defined and related data is not fetched.

If you could point me in the right direction I would be forever grateful.

Denis

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1523

Trending Articles