Hi Ashemez,
App42 API by default designed in the way that if there is no data find in the requested query, then prompt an error message. But if you want to configure an empty set, then there are two ways to configure the response as empty set:
-
Manage locally on the client side: You can create one common function which handles all the exception cases and returns your desired response
-
Using custom code: In Custom code, you can call the same function and return your designed response to the client. Please have a look at this link which will help you write server-side custom code/cloud code and let me know if you need any help from my side.
Regards,
Himanshu Sharma