Square Champion

๐Ÿž Bug Report: Intermittent item save/sync failure when image upload and save occur close together

@Summer2024 @isabelle Please tag whomever this should be reviewed by, its not a common problem, but sometimes I am able to get this error.

Screenshot 2025-11-10 093153.png

 

๐Ÿž Bug Report: Intermittent item save/sync failure when image upload and save occur close together

Summary:
Occasionally, when creating or editing items in the Square Dashboard, the item fails to fully save or sync to Square Online. It seems to happen when an image is uploaded and the Save button is clicked within a few seconds โ€” possibly before the upload finishes.

Behavior:
The failure is intermittent and cannot be reproduced consistently. However, when it happens, the item will either:

  • Fail to save, or

  • Show validation errors such as:

     
    Fix these issues to make this item visible online: - Add rulesEngine.fieldsWithArticle.id - Invalid image url:

The image preview often appears, but the backend seems to flag the URL or image ID as invalid.

Expected behavior:

  • Saving should wait until the image upload has fully completed, or the UI should prevent saving until upload completion.

  • Items should always save and sync normally without manual re-entry.

Actual behavior:

  • Occasionally, the item save operation runs before the image upload is finalized.

  • The resulting item gets stuck or fails to appear online until manually re-edited and re-saved.

Suspected cause:
A race condition or timing issue between the image upload process and item save action. When the Save button is clicked mid-upload, the system appears to proceed before the image data is registered, causing invalid references (image_url, rulesEngine.fieldsWithArticle.id, etc.).

643 Views
Message 1 of 3
Report
2 REPLIES 2
Square Champion

@JTPets I ran into an error today when duplicating an item, I went to add a variation, then take that variation and make it only available at certain locations instead of all locations, and it said, NO, not only no, but hell no, and don't ask me again..j/k, it threw an error.

Donnie
Multi-Unit Manager | Founder, Table & Ledger
tableandledger.com

Square AI Champion | Using Square since July, 2017

"Good judgment comes from experience, and experience comes from bad judgment."

"You can have everything in life you want, if you will just help other people get what they want." - Z.Z.

"AI doesn't replace your judgment. It gives your judgment better information to work with."
556 Views
Message 2 of 3
Report
Square Champion
546 Views
Message 3 of 3
Report