# \[Solved\] Failed to update the row

**URL:** <https://community.thunkable.com/t/solved-failed-to-update-the-row/563303>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [April 13, 2020, 12:38pm UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303 "2020-04-13T12:38:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gigiching42pvu](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gigiching42pvu](https://community.thunkable.com/u/gigiching42pvu)\
**Post date:** [April 13, 2020, 12:38pm UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303/1 "2020-04-13T12:38:58Z")

</div>

I want to update the unique key column of the airtable when the page opens.

The unique key that i want should be in sequence

example:  
Unique Key  
1  
2  
3  
4  
5  
6  
7  
8

However, it fails to show the correct number of the key (the image is showed)

 ![Screenshot 2020-04-13 at 8.19.03 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/c/ec369aee08f7478e615cd93f03d0418f94c86110.png) ![Screenshot 2020-04-13 at 8.19.14 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/b/abd8d05e398de799cd6def765ec968790e967953.png)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 13, 2020, 1:55pm UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303/2 "2020-04-13T13:55:41Z")

</div>

Why are you making it yourself. Airtable will do this for you

---

<div class="post-metadata">

**Author:** ![gigiching42pvu](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gigiching42pvu](https://community.thunkable.com/u/gigiching42pvu)\
**Post date:** [April 13, 2020, 2:06pm UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303/3 "2020-04-13T14:06:36Z")

</div>

Set the unique key as row number?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 13, 2020, 6:06pm UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303/4 "2020-04-13T18:06:20Z")

</div>

ahh. i see what you are doiing there.  
can you try changing how you change the row object

look at my code here

 ![Screen Shot 2020-04-13 at 1.49.17 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/b/9b0c83d46e37330ad528e31822ceaecf6ae24656.png)

i specify which object (column) i want to change in the rowObject parameter just after the row number parameter

---

<div class="post-metadata">

**Author:** ![gigiching42pvu](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gigiching42pvu](https://community.thunkable.com/u/gigiching42pvu)\
**Post date:** [April 13, 2020, 7:10pm UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303/5 "2020-04-13T19:10:52Z")

</div>

Sorry for asking stupid question. Where can I take the “func.GetandUpdateData with: \_rawdata” block?  
thanksss

 ![Screenshot 2020-04-14 at 2.55.03 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/b/4bebf5f819971d489394f7303e295781de4ef2c4.png)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 13, 2020, 7:13pm UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303/6 "2020-04-13T19:13:27Z")

</div>

ahh! dont worry abotu that. that is to update the data on the screen.

i was showing how to update a row.

you connect the pink block to the side of the purple block, don’t put it in the then do section

---

<div class="post-metadata">

**Author:** ![gigiching42pvu](https://avatars.discourse-cdn.com/v4/letter/g/45deac/32.png) [@gigiching42pvu](https://community.thunkable.com/u/gigiching42pvu)\
**Post date:** [April 15, 2020, 3:37pm UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303/7 "2020-04-15T15:37:08Z")

</div>

@jared Thanks!!! Success!!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:38am UTC](https://community.thunkable.com/t/solved-failed-to-update-the-row/563303/8 "2024-11-08T11:38:59Z")

</div>


