# Sync issue

**URL:** <https://community.glideapps.com/t/sync-issue/29287>\
**Category:** Ask for Help\
**Created:** [July 19, 2021, 11:25am UTC](https://community.glideapps.com/t/sync-issue/29287 "2021-07-19T11:25:03Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [July 19, 2021, 11:25am UTC](https://community.glideapps.com/t/sync-issue/29287/1 "2021-07-19T11:25:04Z")

</div>

I have an app where users from a team can spin a wheel based on the number of spins they have collected in the wallet.

The issue I’m having is, if 2 users spin at the same time, only 1 spin gets deducted from the teams wallet. However if they wait the 4-5 sec for sync, it deducts properly.

How can i get around this?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/8/5854a3f091d14a6858ad0f81d5c10466bf1bba87.png)

**NOTE: this is a PRO app**

---

<div class="post-metadata">

**Author:** ![Lucas\_Pires](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lucas_pires/32/64863_2.png) [@Lucas\_Pires](https://community.glideapps.com/u/Lucas_Pires)\
**Post date:** [July 19, 2021, 2:24pm UTC](https://community.glideapps.com/t/sync-issue/29287/2 "2021-07-19T14:24:16Z")

</div>

What about including another column (in sheets - not user specific) to get a increment or somemthing to say when this column is empty we can spin…? Even doing this do you think should have a conflict? Have you tried it?

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [July 19, 2021, 2:35pm UTC](https://community.glideapps.com/t/sync-issue/29287/3 "2021-07-19T14:35:43Z")

</div>

yes i first tried in a non user specific column, and then user specific, still no luck

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [July 19, 2021, 2:37pm UTC](https://community.glideapps.com/t/sync-issue/29287/4 "2021-07-19T14:37:11Z")

</div>

You could try using Integromat and a webhook. The webhook trigger in Integromat will que all incoming requests. Then put a 5 sec sleep timer in the scenario.

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [July 19, 2021, 10:28pm UTC](https://community.glideapps.com/t/sync-issue/29287/5 "2021-07-19T22:28:58Z")

</div>

Hey @ThinhDinh any ideas on this?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 19, 2021, 11:27pm UTC](https://community.glideapps.com/t/sync-issue/29287/6 "2021-07-19T23:27:15Z")

</div>

What actions does your spin action do?

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [July 19, 2021, 11:30pm UTC](https://community.glideapps.com/t/sync-issue/29287/7 "2021-07-19T23:30:37Z")

</div>

it gives a random piece and deducts 1 spin from user’s team

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 19, 2021, 11:32pm UTC](https://community.glideapps.com/t/sync-issue/29287/8 "2021-07-19T23:32:11Z")

</div>

So a reshuffle/set column and then a -1 increment I guess? Do you do the increment straight on the column?

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [July 19, 2021, 11:36pm UTC](https://community.glideapps.com/t/sync-issue/29287/9 "2021-07-19T23:36:18Z")

</div>

correct. and yes i do the increment straight to column, i tried user specific as well. still no difference.

Happens whenever both users click spin button together.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 19, 2021, 11:51pm UTC](https://community.glideapps.com/t/sync-issue/29287/10 "2021-07-19T23:51:48Z")

</div>

Then what I would do is add rows in another sheet and use a rollup and a math column to do the deduction. It’s weird why increments don’t stack on each other though.

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [July 19, 2021, 11:57pm UTC](https://community.glideapps.com/t/sync-issue/29287/11 "2021-07-19T23:57:49Z")

</div>

they only stack, when pressed 7 sec apart.

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [July 19, 2021, 11:58pm UTC](https://community.glideapps.com/t/sync-issue/29287/12 "2021-07-19T23:58:39Z")

</div>

not sure how. i have 16 teams and 100 users.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 19, 2021, 11:59pm UTC](https://community.glideapps.com/t/sync-issue/29287/13 "2021-07-19T23:59:40Z")

</div>

So row count is a problem for you I guess? Might be worth submitting a ticket to the Glide Support.

[https://glide-help.zendesk.com/hc/en-us/requests/new](https://glide-help.zendesk.com/hc/en-us/requests/new)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 20, 2021, 12:23am UTC](https://community.glideapps.com/t/sync-issue/29287/14 "2021-07-20T00:23:29Z")

</div>

@Amal have a read of the following… (may or may not be applicable in your case)

> [@Row Numbers](https://community.glideapps.com/t/row-numbers/27619/11):
>
> I do believe that if you had just a single GSheet, then you could solve your problem. I’m not sure what your current user journey looks like, but it would need to be a two step process, with a short delay in between each step. Here is what I’m envisaging: When a user taps a button to claim a collectable, you put them into a “holding pattern” The button that they tap sends a webhook to Integromat with two values: the UserID, and the ID (RowID?) of the item they are attempting to claim. Integrom…

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [July 20, 2021, 9:26pm UTC](https://community.glideapps.com/t/sync-issue/29287/15 "2021-07-20T21:26:55Z")

</div>

hI,  
Thanks for the input. Can i use this method if my sheet is a glide sheet?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [July 21, 2021, 12:00am UTC](https://community.glideapps.com/t/sync-issue/29287/16 "2021-07-21T00:00:27Z")

</div>

It requires one Google sheet.
