ReadStorageInformation method giving bad numbers for used space

The “ReadStorageInformation” method is returning negative numbers for the “Used Space (MB)” property on some of my recorders. The correct number shows up in the Management Client. How do I access the correct number when the API client gives me a negative one?

This issue was known issue and it was fixed at XProtect 2020 R1. Please see Fixed issues at the bottom of this information link - https://doc.developer.milestonesys.com/html/gettingstarted/mip2020R1_intro.html

Excellent, that explains why it was only happening on some sites and not others. We’re in the process of upgrading all our sites and these few that I’ve seen the issue on are among the last to still have the old version. Thanks.