# Server Internal Error (500) While Adding References In a Specific Field of a Specific Table

**URL:** <https://community.baserow.io/t/server-internal-error-500-while-adding-references-in-a-specific-field-of-a-specific-table/3165>\
**Category:** Technical Help\
**Tags:** help-wanted, self-hosting, baserow\
**Created:** [July 25, 2023, 7:18pm UTC](https://community.baserow.io/t/server-internal-error-500-while-adding-references-in-a-specific-field-of-a-specific-table/3165 "2023-07-25T19:18:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_2ale](https://community.baserow.io/user_avatar/community.baserow.io/_2ale/32/590_2.png) [@\_2ale](https://community.baserow.io/u/_2ale)\
**Post date:** [July 25, 2023, 7:18pm UTC](https://community.baserow.io/t/server-internal-error-500-while-adding-references-in-a-specific-field-of-a-specific-table/3165/1 "2023-07-25T19:18:06Z")

</div>

#### Which version of Baserow are you using.

Last available. Self-hosted instance.

### Describe the problem

When trying to add a reference inside a reference field, the patch request returns Internal Server Error 500.  
The problem is only related to this specific table and only for this field.  
Any other field (even all the remaining reference-to-table fields in the same table) is edited correctly (PATCH REQUESTS return 200).  
All the rows below that field are affected.

Any suggestion?

 ![Schermata del 2023-07-25 21-04-01](https://community.baserow.io/uploads/default/original/2X/6/6acef26340d88b92cc40db02af734d632088c7db.png)

---

<div class="post-metadata">

**Author:** ![nigel](https://community.baserow.io/user_avatar/community.baserow.io/nigel/32/51_2.png) [@nigel](https://community.baserow.io/u/nigel)\
**Post date:** [July 26, 2023, 7:17am UTC](https://community.baserow.io/t/server-internal-error-500-while-adding-references-in-a-specific-field-of-a-specific-table/3165/2 "2023-07-26T07:17:00Z")

</div>

Hi, can you fill in the following questions? Critically here we need to be able to see the errors in the logs and to know the specifics of what fields are in this table (the types, any formulas etc):

Please fill in the questionnaire below.

## Technical Help Questionnaire

Have you read and followed the instructions at: [\*READ ME FIRST\* Technical Help FAQs - #2 by nigel](https://community.baserow.io/t/read-me-first-technical-help-faqs/17/2) ?

**Answer:** No I have not

### Self-Hosted Installation and Setup Questions

Delete this section if you are using [Baserow.io](http://Baserow.io).

#### How have you self-hosted Baserow.

#### What are the specs of the service or server you are using to host Baserow.

#### Which version of Baserow are you using.

#### How have you configured your self-hosted installation?

#### What commands if any did you use to start your Baserow server?

### Describe the problem

#### Describe, step by step, how to reproduce the error or problem you are encountering.

#### Provide screenshots or include share links showing:

#### How many rows in total do you have in your Baserow tables?

#### Please attach full logs from all of Baserow’s services

---

<div class="post-metadata">

**Author:** ![\_2ale](https://community.baserow.io/user_avatar/community.baserow.io/_2ale/32/590_2.png) [@\_2ale](https://community.baserow.io/u/_2ale)\
**Post date:** [July 26, 2023, 8:48am UTC](https://community.baserow.io/t/server-internal-error-500-while-adding-references-in-a-specific-field-of-a-specific-table/3165/3 "2023-07-26T08:48:29Z")

</div>

@nigel thank for reaching out. I’m closing the issue because I solved duplicating the field manually and then removing the problematic one.

I hope it will not happen anymore, otherwise I’ll answer your question.

Thank u so much again. 🙏

---

<div class="post-metadata">

**Author:** ![Long](https://community.baserow.io/letter_avatar_proxy/v4/letter/l/e47774/32.png) [@Long](https://community.baserow.io/u/Long)\
**Post date:** [February 28, 2024, 6:28pm UTC](https://community.baserow.io/t/server-internal-error-500-while-adding-references-in-a-specific-field-of-a-specific-table/3165/4 "2024-02-28T18:28:39Z")

</div>

Hello @nigel  
Nice to meet you.  
Can you please help me regarding this problem?  
Thank you so much!

> [@When creating a new row, I keep getting 500 internal server error](https://community.baserow.io/t/when-creating-a-new-row-i-keep-getting-500-internal-server-error/4615/23):
>
> [BACKEND][2024-02-28 15:59:03] During handling of the above exception, another exception occurred: [BACKEND][2024-02-28 15:59:03] [BACKEND][2024-02-28 15:59:03] Traceback (most recent call last): [BACKEND][2024-02-28 15:59:03] File "/baserow/venv/lib/python3.9/site-packages/asgiref/sync.py", line 486, in thread\_handler [BACKEND][2024-02-28 15:59:03] raise exc\_info[1] [BACKEND][2024-02-28 15:59:03] File "/baserow/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", li…
