# Search crashes with ValueError when searching text strings (e.g. "AI")

**URL:** <https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837>\
**Category:** Report a Bug\
**Created:** [January 21, 2026, 12:25pm UTC](https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837 "2026-01-21T12:25:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![extloma](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@extloma](https://community.datagerry.com/u/extloma)\
**Post date:** [January 21, 2026, 12:25pm UTC](https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837/1 "2026-01-21T12:25:57Z")

</div>

**Version:** 3.0.0  
**Installation:** Docker with Nginx reverse proxy

**Issue:**  
When users search for short text strings (e.g. “AI”), the application crashes and logs the user out.

**Error log:**

[2026-01-21 09:50:20][ERROR] — [search\_framework]: Exception: invalid literal for int() with base 10: ‘AI’, Type: \<class ‘ValueError’\> (search\_routes.py)  
Traceback (most recent call last):  
File “cmdb/interface/rest\_api/routes/framework\_routes/search\_routes.py”, line 134, in search\_framework  
File “cmdb/manager/query\_builder/search\_pipeline\_builder.py”, line 146, in build  
ValueError: invalid literal for int() with base 10: ‘AI’

**Steps to reproduce:**

1. Log in to DataGerry
2. Go to Server and open VMWAre Server
3. Use the search field on the right hand and type “AI”
4. Press Enter

**Expected:** Search returns results or “no results found”  
**Actual:** Site crashes and user is logged out or greying out

**Note:** I see this is similar to DAT-1946. Is there a timeline for the fix?  
**Temp Solution** : Use filter first and filter by column

---

<div class="post-metadata">

**Author:** ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)\
**Post date:** [January 21, 2026, 12:45pm UTC](https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837/2 "2026-01-21T12:45:21Z")

</div>

Hi @extloma ,

thanks for the Feedback, we will have a look at your issue szenario. We will keep you updated in this post.

SIncerly your DataGerry Team

---

<div class="post-metadata">

**Author:** ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)\
**Post date:** [January 21, 2026, 2:14pm UTC](https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837/3 "2026-01-21T14:14:00Z")

</div>

Hi @extloma ,

are you talking about the search field right of the “Filter”-Button ?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/48fe34d6c2fe14b7174faf5b6f0be82eb4a6c65c.png)

---

<div class="post-metadata">

**Author:** ![extloma](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@extloma](https://community.datagerry.com/u/extloma)\
**Post date:** [January 22, 2026, 8:29am UTC](https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837/4 "2026-01-22T08:29:44Z")

</div>

Yes exactly! Perhaps I can link a screenrecord when I have the user within reach 🙂

---

<div class="post-metadata">

**Author:** ![extloma](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@extloma](https://community.datagerry.com/u/extloma)\
**Post date:** [January 22, 2026, 9:09am UTC](https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837/6 "2026-01-22T09:09:53Z")

</div>

![Datagerry2](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/3fa7776f7d4155de4a6497be381ee83741a915b5.png)

---

<div class="post-metadata">

**Author:** ![extloma](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@extloma](https://community.datagerry.com/u/extloma)\
**Post date:** [January 22, 2026, 12:00pm UTC](https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837/8 "2026-01-22T12:00:42Z")

</div>

![Datagerry1](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/53b4df307ab30dc6e6f8ea0e89eb61204a332031.jpeg)

---

<div class="post-metadata">

**Author:** ![extloma](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@extloma](https://community.datagerry.com/u/extloma)\
**Post date:** [January 22, 2026, 12:01pm UTC](https://community.datagerry.com/t/search-crashes-with-valueerror-when-searching-text-strings-e-g-ai/837/9 "2026-01-22T12:01:54Z")

</div>

![datagerry3](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/e57d741514c292fcff7b21884386a578c4eb3767.jpeg)
