# Custom Shipping Rate provider calculation error

**URL:** <https://forum.umbraco.com/t/custom-shipping-rate-provider-calculation-error/8529>\
**Category:** Questions\
**Tags:** umbraco-commerce, v17\
**Created:** [September 10, 2026, 7:37am UTC](https://forum.umbraco.com/t/custom-shipping-rate-provider-calculation-error/8529 "2026-09-10T07:37:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![justin-nevitech](https://forum.umbraco.com/user_avatar/forum.umbraco.com/justin-nevitech/32/6219_2.png) [@justin-nevitech](https://forum.umbraco.com/u/justin-nevitech)\
**Post date:** [September 10, 2026, 8:03am UTC](https://forum.umbraco.com/t/custom-shipping-rate-provider-calculation-error/8529/3 "2026-09-10T08:03:57Z")

</div>

Hi @ajatnow

My guess would be that you are using the editor alias of `Umb.PropertyEditorUi.Toggle` which is a true/false but you’ve declared your shipping rate provider with an int. The JSON error shows it cannot parse an int value.

Maybe try this?

`ShippingRateProvider<bool>`

Justin

---

_[View the full topic](https://forum.umbraco.com/t/custom-shipping-rate-provider-calculation-error/8529)._
