Maintain control of your Microsoft Office 365 email data
kristofpoppe
Enthusiast
Posts: 25
Liked: 2 times
Joined: May 18, 2012 1:19 pm
Full Name: Kristof Poppe
Contact:

Re: Decimal separator REST-API: clarification needed

Post by kristofpoppe » Jan 29, 2019 1:52 pm

Update:

Also with the new code, we're still receiving comma's but we were able to 'fix' this

So we added extra ‘missing’ awk for readrate, because there were still comma’s. This is now good interpreted, but also “readrate=” sometimes has no values.
Perhaps this explains the “missing field value”-error ? The only error which now persists is “’invalid Boolean”, so to which variable should this map?
Perhaps related to the inconsistent use of backslashes in the value of “initiatedBy”?

Another thought: we’re running veeam-stats.ps1 on the same linux box, which also uses rest-api and that’s working perfect.

Polina
Veeam Software
Posts: 450
Liked: 70 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasilyeva
Contact:

Re: Decimal separator REST-API: clarification needed

Post by Polina » Jan 30, 2019 11:57 am

Hi Kristof,

Our engineers are on this issue, but it will take some time to confirm and troubleshoot. Stay tuned for updates.

Polina
Veeam Software
Posts: 450
Liked: 70 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasilyeva
Contact:

Re: Decimal separator REST-API: clarification needed

Post by Polina » Jan 30, 2019 6:16 pm

Some feedback from our REST API guru:

First, it’s not a JSON issue, but the specifics of the way the server sends data. The values you see under Job Session statistics are the decimal units converted by the server itself from “raw” bytes (and this is where comma comes from). The decimals and their corresponding units of measurement (MB/GB/TB) are then sent as a string, which may cause parsing issues.

This behavior will be improved in the next releases.

Thanks!

b.vanhaastrecht
Service Provider
Posts: 483
Liked: 86 times
Joined: Aug 26, 2013 7:46 am
Full Name: Bastiaan van Haastrecht
Location: The Netherlands
Contact:

Re: Decimal separator REST-API: clarification needed

Post by b.vanhaastrecht » Feb 05, 2019 9:39 am

I also stumbled on this, looking forward on being fixed.
========================================
Veeam ProPartner and Cloud Connect Provider

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest