# Error al realizar una búsqueda en meta

**URL:** https://meta.discourse.org/t/error-when-performing-a-search-on-meta/368194
**Category:** Bug
**Tags:** search, ai
**Created:** [30 Mayo, 2025 03:42 UTC](https://meta.discourse.org/t/error-when-performing-a-search-on-meta/368194 "2025-05-30T03:42:00Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [30 Mayo, 2025 03:57 UTC](https://meta.discourse.org/t/error-when-performing-a-search-on-meta/368194/6 "2025-05-30T03:57:09Z")

</div>

Creo que @tgxworld acaba de arreglar esto en:

> <https://github.com/discourse/discourse-ai/pull/1383>
>
> Follow-up to 59d6e2b467d1d1e558b59d9d32794231791ee241
> 
> Error encountered in pr…od.
> 
> \`\`\`
> ai-full-page-discobot-discoveries.js:21 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'viewport')
> at get previewLength (ai-full-page-discobot-discoveries.js:21:1)
> at eM (cache-BESCGvbE.js:1647:18)
> at index.js:95:32
> at index.js:75:37
> at Z (index.js:418:5)
> at T (index.js:74:16)
> at p.get (index.js:26:32)
> at k.\<anonymous\> (ai-search-discoveries.js:37:1)
> at getter (index.js:444:104)
> at k.o \[as discoveryPreviewLength\] (cache-BESCGvbE.js:1878:17)
> at get canShowExpandtoggle (ai-search-discoveries.js:114:1)
> at get renderPreviewOnly (ai-search-discoveries.js:117:1)
> \`\`\`

Dado que se trata de descubrimientos, procedí a deshabilitar los descubrimientos aquí, ¿está todo funcionando ahora?

cc @Falco

---

_[View the full topic](https://meta.discourse.org/t/error-when-performing-a-search-on-meta/368194)._
