Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Type 'number or string' in API fields

Topic Labels: API
274 0
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi !

I created a rollup field I want to access via the API. Aggregation formula is AVERAGE(values)*1.20
values are integer.
Custom json decoder (written in Elm) fail at parsing this field. I checked the api documentation and field’s type is number or string. I expect it to be a number since it’s formatted as an integer and all input values are also integer.

What does it mean ? How to coerce the type to be only a number ? I tried to consume the aggregated value in another field formula but it inherits this number or string type.

Thanks for your help!

0 Replies 0