There seems to be discrepancies between the consumption report and the API function getDataUsage

If it looks like there are discrepancies between the consumption report you received by email and the API function getDataUsage, it can be because:

  • Some servers were unreachable during the generation of the report. Make sure you subtract those from your comparison.
  • The API sends results in bytes so if you want to convert them to MB or GB, you have to divide the bytes by (1024)^2 or (1024)^3.
  • The dates entered into the API were wrong. The start and end dates are both taken into account, so if you want the consumption from the 1st to the 3d of January 2018 included, you should enter 2018-01-01 and 2018-01-03 as start and end dates.

Still need help? Contact Us Contact Us