# Error 502 when inserting database

**URL:** <https://community.thunkable.com/t/error-502-when-inserting-database/2808703>\
**Category:** Questions about Thunkable X\
**Created:** [January 29, 2024, 10:31am UTC](https://community.thunkable.com/t/error-502-when-inserting-database/2808703 "2024-01-29T10:31:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![valdemireu59](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@valdemireu59](https://community.thunkable.com/u/valdemireu59)\
**Post date:** [January 29, 2024, 10:31am UTC](https://community.thunkable.com/t/error-502-when-inserting-database/2808703/1 "2024-01-29T10:31:14Z")

</div>

I had a database from Sheets, but this database does not update and now I get error 502 when I try to add a new Sheets database, I don’t know how to proceed.

---

<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:** [January 29, 2024, 11:13am UTC](https://community.thunkable.com/t/error-502-when-inserting-database/2808703/2 "2024-01-29T11:13:35Z")

</div>

Hello @valdemireu59 welcome to the community  
I can’t replicate this issue  
Have you tried to sync the data source?  
If this doesn’t work, you can reset your Google Sheets connection by following the steps in our docs: [Google Sheets Data Source - Thunkable Docs](https://docs.thunkable.com/getting-started/data-sources/data-sources#reset-your-google-sheets-connection)

---

<div class="post-metadata">

**Author:** ![valdemireu59](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@valdemireu59](https://community.thunkable.com/u/valdemireu59)\
**Post date:** [January 29, 2024, 11:41am UTC](https://community.thunkable.com/t/error-502-when-inserting-database/2808703/3 "2024-01-29T11:41:16Z")

</div>

Panets with smaller sizes are included, longer spreadsheets with 15 tabs are not included and I get this 502 error, do I have a limited spreadsheet size, or is it giving an error because I’m not a pro?

---

<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:** [January 29, 2024, 12:59pm UTC](https://community.thunkable.com/t/error-502-when-inserting-database/2808703/4 "2024-01-29T12:59:10Z")

</div>

@valdemireu59 Thank you for sharing more details  
The number of tabs shouldn’t be an issue.  
Please check that in every column the first row in your sheet has a value

---

<div class="post-metadata">

**Author:** ![valdemireu59](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@valdemireu59](https://community.thunkable.com/u/valdemireu59)\
**Post date:** [January 29, 2024, 1:21pm UTC](https://community.thunkable.com/t/error-502-when-inserting-database/2808703/5 "2024-01-29T13:21:25Z")

</div>

I think the problem was the number of data saved in this spreadsheet, which made it heavy and resulted in the error. I will carry out some more tests.

---

<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:** [January 29, 2024, 2:29pm UTC](https://community.thunkable.com/t/error-502-when-inserting-database/2808703/6 "2024-01-29T14:29:44Z")

</div>

@valdemireu59 if you continue having issues please share a copy of your Google sheet in a personal message

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 28, 2024, 2:30pm UTC](https://community.thunkable.com/t/error-502-when-inserting-database/2808703/7 "2024-04-28T14:30:40Z")

</div>

Closed on April 28, 2024, 2:30pm UTC

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