# \[Python\] Pass custom \_id with append\_row since 4.4

**URL:** <https://forum.seatable.com/t/python-pass-custom-id-with-append-row-since-4-4/4260>\
**Category:** Scripts (Python and JS)\
**Created:** [May 16, 2024, 2:30pm UTC](https://forum.seatable.com/t/python-pass-custom-id-with-append-row-since-4-4/4260 "2024-05-16T14:30:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remi](https://forum.seatable.com/letter_avatar_proxy/v4/letter/r/ed8c4c/32.png) [@Remi](https://forum.seatable.com/u/Remi)\
**Post date:** [May 16, 2024, 2:30pm UTC](https://forum.seatable.com/t/python-pass-custom-id-with-append-row-since-4-4/4260/1 "2024-05-16T14:30:55Z")

</div>

Hi,  
Since 4.4, I notice a change on behaviour of append\_row function :

Indeed, my script to duplicate row :  
current\_row = context.current\_row (+ various modif data)  
current\_row\_modif=current\_row  
trow = base.append\_row(current\_table, current\_row\_modif)  
is throwing error ‘already existing row’

I have added a current\_row\_modif.pop(‘\_id’) before append\_row to solve this.

If this can help others.

---

<div class="post-metadata">

**Author:** ![cdb](https://forum.seatable.com/user_avatar/forum.seatable.com/cdb/32/7_2.png) [@cdb](https://forum.seatable.com/u/cdb)\
**Post date:** [May 17, 2024, 8:41am UTC](https://forum.seatable.com/t/python-pass-custom-id-with-append-row-since-4-4/4260/2 "2024-05-17T08:41:51Z")

</div>

Hey @Remi,

thanks for this hint. It is true, that currently it is possible to pass your own \_id during the creation of a row. I will clarify if this is intentional, but I **would not** recommend using this feature at all.

Therefore, thanks for your hint, how to overcome this problem, if you just copy and paste existing rows in a table.

---

<div class="post-metadata">

**Author:** ![system](https://forum.seatable.com/uploads/default/original/1X/04603423fe81a46c321283663086c475429e8ccb.png) [@system](https://forum.seatable.com/u/system)\
**Post date:** [May 19, 2024, 8:42am UTC](https://forum.seatable.com/t/python-pass-custom-id-with-append-row-since-4-4/4260/3 "2024-05-19T08:42:26Z")

</div>

Closed on May 19, 2024, 8:42am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
