# Did something change with casting of web request data?

**URL:** <https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337>\
**Category:** Ask the community\
**Created:** [May 6, 2026, 2:19pm UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337 "2026-05-06T14:19:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![torstro](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@torstro](https://community.appfarm.io/u/torstro)\
**Post date:** [May 6, 2026, 2:19pm UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337/1 "2026-05-06T14:19:09Z")

</div>

Hello!

This is a fixable user error from us when building the app, but I still found it interesting enough to ask here if something changed. We have a couple of Action Nodes and comparisons that started failing recently that we were quite sure we hadn’t touched in a while. The data in the objects being updated came from web requests with the wrong data type as in this example:

{ “someNumberAsString”: “123456” }

This was mapped to an integer value in Appfarm, but when the object was being persisted we got an error like “got string, expected int”. It also evaluated a comparison with another integer as false even though they appeared to have the same value in the debug panel.

We also had a similar issue where we had mapped 1s and 0s to a boolean Appfarm value. Did Appfarm try to cast incoming values from web requests to the correct type before?

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [May 7, 2026, 8:24am UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337/2 "2026-05-07T08:24:13Z")

</div>

Hi,

This is being looked at now!

-kristian

---

<div class="post-metadata">

**Author:** ![torstro](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@torstro](https://community.appfarm.io/u/torstro)\
**Post date:** [May 7, 2026, 8:43am UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337/3 "2026-05-07T08:43:46Z")

</div>

Thanks!

Do you think that the old behaviour will come back?

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [May 7, 2026, 8:56am UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337/4 "2026-05-07T08:56:20Z")

</div>

Hi!

It seems to be related to Flows, so we have temporarily disabled Flows on the Standard / Stable release track while finding a permanent fix. Can you try again now? If the error is in non-dev environment, a new deploy is needed!

---

<div class="post-metadata">

**Author:** ![torstro](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@torstro](https://community.appfarm.io/u/torstro)\
**Post date:** [May 7, 2026, 9:03am UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337/5 "2026-05-07T09:03:07Z")

</div>

I tried in Dev now and I still get the error when persisting, value looks okay in the debug panel but seems to be a string under the hood. I did not do anything special to try to get a new Appfarm version in dev.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/4/4558d5996653f6beaf82c9bbb19e67073bd4c321.png)

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/4/4ccf1f011e907f18403412b3c38fc2f3512b59ea.png)

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [May 7, 2026, 9:15am UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337/6 "2026-05-07T09:15:25Z")

</div>

Can you try doing a minor change in Create to force a Dev deploy, and then test again? And, please also let me know the Appfarm version (as seen from the Create settings)

---

<div class="post-metadata">

**Author:** ![torstro](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@torstro](https://community.appfarm.io/u/torstro)\
**Post date:** [May 7, 2026, 9:41am UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337/7 "2026-05-07T09:41:17Z")

</div>

I tried to force a small change but still the same error.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/f/fe25113353eca9df7574a63e83d8aeef3630e9e2.png)

---

<div class="post-metadata">

**Author:** ![kristian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/kristian/32/58_2.png) [@kristian](https://community.appfarm.io/u/kristian)\
**Post date:** [May 7, 2026, 9:51am UTC](https://community.appfarm.io/t/did-something-change-with-casting-of-web-request-data/2337/8 "2026-05-07T09:51:53Z")

</div>

I just sent you a DM!
