search_rules with SecureTrack R24-2

security_rules = self.st.search_rules(uid="{A6F2E36B-3A72-480E-8A22-2DDA365A2C99}")

results in File "c:\Users...\pytos2\securetrack\entrypoint.py", line 1270, in _chunked_rule_search raise ValueError(f"got '{msg}' from API Error: {e}") ValueError: got 'None' from API Error: 500 Server Error: for url: https://some.host.cc/securetrack/api/rule_search?devices=102%2C103%2C104%2C&search_text=filter%3Auid+uid%3Aa6f2e36b-3a72-480e-8a22-2dda365a2c99

With SecureTrack R24-2 API there is a limitation with the devices parameter on the /rule_search API: When passing a list of Device IDs as URL parameter to the /rule_search, the API only accepts IDs that contain at least one rule matching the filter. If a device ID is passed that has a "rule_count" == 0 then the 500 GENERAL_ERROR is returned Can you confirm that?

So in the \securetrack\entrypoint.py instead of going over all devices IDs using the _chunked_rule_search, first call the API without the device and then only use the device IDs that have a rule_count >0