numeric values mapped from storage to query parameters for a service which uses parameter substitution causes an error. Appery.js line 564:
var newValue = value && value.replace(this.PARAM_PATTERN, __performParametersSubstitution);
it should convert the value to a string first.
A workaround is in the js of the mapping to return "" + value;
but that is awkward.