`insert into` Always Fails with “Improper Statement” — Even with Minimal Code

`insert into` Always Fails with “Improper Statement” — Even with Minimal Code

Im develeping my inventory database using ChatGPT   to help me and I´m running into an issue in my scan inventory form script when I try to make a form for logging the scanned items. 

🆘 Zoho Creator: `insert into` Always Fails with “Improper Statement” — Even with Minimal Code

Context:
I'm building an inventory system in Zoho Creator. I have a form called `Scan Inventory` and a second form called `Scan_Log1` where I want to log scans using Deluge.

Setup:
- I'm running a workflow (`update product seen`) in the `Scan Inventory` form
- The workflow is triggered On Success
- I’m using a very basic `insert into` block to write into `Scan_Log1`

Code Example:
insert into Scan_Log1
[
    Scanned_RET = "TEST123";
];

What I’ve Confirmed:
✅ The form link name is exactly `Scan_Log1`  
✅ The field `Scanned_RET` exists in that form and is not Required  
✅ I’ve removed all other fields for testing  
✅ There are no workflows or validations in `Scan_Log1`  
✅ The user has full permissions  
✅ The workflow is correctly running (confirmed with info "This workflow ran")

The Problem:
Despite all this, I consistently get the error:

Improper statement. Error might be due to missing ";" at the end of the line or incomplete expression

...on the `insert into` line, even when it contains just a single hardcoded field-value pair.

What I’ve Tried:
- Rebuilding the form from scratch
- Renaming fields and form
- Creating a fresh test form and inserting into that
- Removing all variables — using only hardcoded strings
- Making all fields optional
- Confirming no hidden required fields or workflows

❓ What could cause `insert into` to fail even with minimal, valid code?

Any ideas or deeper debugging steps appreciated. Thanks in advance!
    • Sticky Posts

    • Share your success story

      We would like to hear from our passionate users how much Zoho Creator has changed the way you work and benefited you. If you would like to share your story to us and be featured as a proud user of Zoho Creator, then this is for you. Fill up the form below and if you want to be included in a case study, we will get in touch with you to get further details. So what are you waiting for? Tell us your story. Charles
    • Merge and Store v1 API depreciation

      Hi Zoho Writer users, The Merge and Store v1 API allows you to store the merged document in Zoho WorkDrive. The response of this API will be returned with the document's ID only after the merge is complete. In Deluge, the maximum timeout for operation
    • Zoho Creator Developer's Conference 2017 !!!

      We welcome all our Creator Developers! You're invited to join us for our annual Zoholics Developers conference August 29th–31st! This is your chance to get training and guidance on Zoho Creator from our most knowledgeable custom app builders.       Zoholics Developers is a three-day event where you'll participate in interactive workshops to hone your app-building skills, get questions answered by Creator experts with personal one-on-one sessions, and connect with other Creator developers from around