# שגיאת שרת פנימית עבור שאילתות מסוימות בתוסף data explorer

**URL:** <https://meta.discourse.org/t/internal-server-error-for-some-queries-in-data-explorer-plugin/251410>\
**Category:** Product Support\
**Tags:** data-explorer\
**Created:** [11 בינואר,‏ 2023,‏ 12:55pm UTC](https://meta.discourse.org/t/internal-server-error-for-some-queries-in-data-explorer-plugin/251410 "2023-01-11T12:55:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)\
**Post date:** [11 בינואר,‏ 2023,‏ 12:55pm UTC](https://meta.discourse.org/t/internal-server-error-for-some-queries-in-data-explorer-plugin/251410/1 "2023-01-11T12:55:00Z")

</div>

As mentioned [here](https://meta.discourse.org/t/telegram-notifications-plugin-discourse-telegram-notifications/60483/185) I have errors when using some queries in the [data explorer](https://meta.discourse.org/t/32566?silent=true).

> [@Telegram Notifications Plugin (discourse-telegram-notifications)](https://meta.discourse.org/t/telegram-notifications-plugin-discourse-telegram-notifications/60483/1):
>
> Here’s a query for the [data explorer plugin](https://meta.discourse.org/t/data-explorer-plugin/32566):
> 
> ```plaintext
> SELECT user_id, updated_at, value from user_custom_fields
> WHERE name = 'telegram_chat_id'
> 
> ```

> [@Telegram Notifications Plugin (discourse-telegram-notifications)](https://meta.discourse.org/t/telegram-notifications-plugin-discourse-telegram-notifications/60483/185):
>
> I get `Internal Server Error` when I copy this statement into a new [data explorer](https://meta.discourse.org/t/32566?silent=true) query.
> 
> If I try the statement directly on the database, it works.
> 
> Strange. I tried some other of the standard queries available. Some work, but I also got the same error for other queries.

Other queries which came with Discourse installation also have the `Internal Server Error`, e.g.:

- Who has been sending the most messages in the last week?
- Most Common Likers

Others work.

And, as mentioned, when I use the Telegram query directly on the database, it works, too.

---

_[View the full topic](https://meta.discourse.org/t/internal-server-error-for-some-queries-in-data-explorer-plugin/251410)._
