@Summer2024 @isabelle Please tag whomever this should be reviewed by, its not a common problem, but sometimes I am able to get this error.
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:
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.).
@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-M Is that the one where it asks you if you want to save changes and then doesn't let you do anything?
Square Community
Square Products