# Duplicated app tries to connect to earlier erased database

**URL:** <https://community.thunkable.com/t/duplicated-app-tries-to-connect-to-earlier-erased-database/3345353>\
**Category:** Issues / Bugs\
**Created:** [November 16, 2024, 4:51am UTC](https://community.thunkable.com/t/duplicated-app-tries-to-connect-to-earlier-erased-database/3345353 "2024-11-16T04:51:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterroxv6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/peterroxv6/32/152780_2.png) [@peterroxv6](https://community.thunkable.com/u/peterroxv6)\
**Post date:** [November 16, 2024, 4:51am UTC](https://community.thunkable.com/t/duplicated-app-tries-to-connect-to-earlier-erased-database/3345353/1 "2024-11-16T04:51:03Z")

</div>

Hello Thunkers, I encountered this strange effect:

- I connected my app to a different base in Airtable and changed all the relevant blocks;
- Everything worked fine and I duplicated the app to make other changes. One of them: adding another Airtable base to the app, together with the existing one. All Queries worked as they should, no errors, all good
- But when I try to duplicate this last, 100% functioning version of the app, all blocks that I previously reconnected to the newer database try to connect to the old, not existing one. Resulting in hundreds of errors and all blocks in the “do” from queries disappeared.

Any idea how I can fix this is much appreciated.

---

<div class="post-metadata">

**Author:** ![peterroxv6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/peterroxv6/32/152780_2.png) [@peterroxv6](https://community.thunkable.com/u/peterroxv6)\
**Post date:** [November 17, 2024, 3:47am UTC](https://community.thunkable.com/t/duplicated-app-tries-to-connect-to-earlier-erased-database/3345353/2 "2024-11-17T03:47:00Z")

</div>

Well: I reverted to the base with the relevant blocks changed, duplicated it _again_ and made exactly the same changes (first two points above). All worked fine, just like the first time, 100%.

And now when I duplicate this version, NO errors at all.

So a lesson learned: don’t wait for days to make a duplicate, but do it on a daily basis at least - so quirky problems like this one don’t have too big an impact.
