Cannot convert to integer
carlokok opened this issue · 5 comments
carlokok commented
When I do a query that requests the aggregate for variants.price.centAmount, I get back:
"variants.price.centAmount":{"type":"range","dataType":"number","ranges":[{"type":"double","from":0.0,"fromStr":"0.0","to":0.0,"toStr":"","count":119104,"totalCount":119104,"total":3.715960759E9,"min":0.0,"max":2301000.0,"mean":31199.294389777002}]}
Which results in:
Newtonsoft.Json.JsonReaderException: 'Could not convert to integer: 3715960759. Path 'ranges[0].total', line 1, position 28123.'
jenschude commented
Would it be possible to get the original request and response? Never seen a number this high actually. And I always thought exponential presentation shouldn't happen on API level.
carlokok commented
@jenschude Is there a way to provide this privately?
jenschude commented
Sure. Company mail can be seen at my profile page ;)
jenschude commented
Or sent in a mail to support@commercetools.com