Author Topic: Account API returning zero for diskused  (Read 464 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Account API returning zero for diskused
« on: January 02, 2021, 10:53:22 PM »
Hi Everyone,

First time poster and pretty new to CWP - thanks for creating such a great product!

I am having a problem with my integration with WHMCS that I was hoping someone might be able to point me in the right direction to a solution.

Problem:
Disk Usage is being reported as zero (0) for all accounts - other values, such as bandwidth, bandwidth limit and disk limit are returned OK.

Example:
UserA is showing the correct amount, 153.2MB used disk space in the admin and user control panels (web interface) but shows as zero when using the API via curl - "diskused":0,"disklimit":"2048","bandwidth":"13","bwlimit":"100000"

I am using CWPpro version: 0.9.8.1030