Hi
I think there is an issue with the REST API.
I am trying to use Edit or Add actions to push fields that I have defined as type "text" in an appsheet DB table. However, if they are fields that could be considered numeric or datetime (i.e: "0.0" or "04/30/2025 19:35:56") the request goes though and the edit or add gets made, but they are parsed into "0" or "2025-04-30T19:35:56", which is unexpected as I would like the text to be kept exactly as I send it in the body of request.
Thanks!
Hi @jbermeo ,
You’re right — AppSheet’s API tends to auto-parse text that looks like numbers or dates.
One workaround: wrap your values in explicit quotes or add a non-numeric character (like a space or letter) to force it to stay as text.
It’s also worth raising this with AppSheet support — they may have a setting or improvement planned.
Hi,
Thank you for raising this issue.
What you're experiencing is due to automatic type coercion in AppSheet's backend when processing API requests. Even though you've defined the field type as "text" in your table schema, if the content of the value resembles a number or a datetime (e.g., "0.0" or "04/30/2025 19:35:56"), AppSheet may attempt to interpret and store it as its closest matching data type, resulting in unintended transformations like "0.0" becoming "0" or the datetime string being reformatted.
Unfortunately, this behavior can happen when the platform tries to normalize data for consistency, particularly if the column's data type is inferred differently at the storage level (e.g., in Google Sheets or Excel, which may auto-format content).
Suggested Workarounds:
"YourTextField": "0.0"
Let me know if you'd like help implementing any of these workarounds or drafting a support request.