# Bug: A missing prefix gives a generic error

**URL:** <https://community.stardog.com/t/bug-a-missing-prefix-gives-a-generic-error/3046>\
**Category:** Stardog Studio\
**Created:** [May 17, 2021, 4:07pm UTC](https://community.stardog.com/t/bug-a-missing-prefix-gives-a-generic-error/3046 "2021-05-17T16:07:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![borgendorf](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/borgendorf/32/24_2.png) [@borgendorf](https://community.stardog.com/u/borgendorf)\
**Post date:** [May 17, 2021, 4:07pm UTC](https://community.stardog.com/t/bug-a-missing-prefix-gives-a-generic-error/3046/1 "2021-05-17T16:07:55Z")

</div>

Version: 7.4.4  
If you try to Run a query but have forgotten to define a prefix, Studio used to give back a nice message about an undefined prefix. Now it just says, "Something went wrong and we're not sure what it is." I spent too much time troubleshooting my connections before realizing it was a SPARQL error.

---

<div class="post-metadata">

**Author:** ![jason](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jason/32/226_2.png) [@jason](https://community.stardog.com/u/jason)\
**Post date:** [May 17, 2021, 5:39pm UTC](https://community.stardog.com/t/bug-a-missing-prefix-gives-a-generic-error/3046/2 "2021-05-17T17:39:48Z")

</div>

Thanks for reporting this; it is indeed a bug. I've created an issue for it internally, and we will likely have the fix for it out shortly.

Jason

---

<div class="post-metadata">

**Author:** ![borgendorf](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/borgendorf/32/24_2.png) [@borgendorf](https://community.stardog.com/u/borgendorf)\
**Post date:** [May 17, 2021, 6:19pm UTC](https://community.stardog.com/t/bug-a-missing-prefix-gives-a-generic-error/3046/3 "2021-05-17T18:19:24Z")

</div>

Nice, thanks. Now that I think about it, it's larger than just the Prefix part. It's not telling me about basic syntax errors (like forgetting a period between statements). Hopefully that's a part of your fix, too. Thanks again.
