Dynamic route query DB - return a single element based on ID

Hi @Marving_Moreton ,

So it looks like the value of companyId is. not a valid string containing an actual ObjectId format.

Please debug your code and verify that the string you provide is constructed to be converted to an objectId…

Thank
Pavel

2 Likes