Deluge Events/search API works in user environment but not in sandbox – why?

Deluge Events/search API works in user environment but not in sandbox – why?

I am creating an Extension for Zoho CRM using Zoho Sigma Platform


I’m using the following Deluge code to search Events in Zoho CRM based on Start_DateTime:
  1. criteria = "(Start_DateTime:greater_than:2025-12-20T00:00:00+00:00)";
  2. url = "crm/v8/Events/search?criteria=" + zoho.encryption.urlEncode(criteria) + "&fields=id";
  3. response = invokeapi
  4. [
  5. service: ZohoCRM
  6. path: url
  7. type: GET
  8. ];
  9. info response;
  10. return response;

This works correctly if I create a function in user (production) environment, but the same code does not work in the Function on sandbox.

In the sandbox, the response is empty, even though:

  • The Events with same date exists in both environment

  • The same criteria and API version are 


What could cause this difference between sandbox and production for the Events/search API?
What should I need to do for it to work in the Extension Function?