# Using Flight in Java - SQL Errors available?

**URL:** <https://community.dremio.com/t/using-flight-in-java-sql-errors-available/6308>\
**Category:** Uncategorized\
**Created:** [September 21, 2020, 2:10pm UTC](https://community.dremio.com/t/using-flight-in-java-sql-errors-available/6308 "2020-09-21T14:10:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryceb](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@bryceb](https://community.dremio.com/u/bryceb)\
**Post date:** [September 21, 2020, 2:10pm UTC](https://community.dremio.com/t/using-flight-in-java-sql-errors-available/6308/1 "2020-09-21T14:10:54Z")

</div>

We are using flight to connect to dremio using java. I am sending over SQL and it is working great. However, when there is a error in the SQL (syntax or otherwise) I only get a generic Flight error. Is there any way at all to get a more specific error related to the SQL like you would with a typical JDBC connector?

Thank you very much

---

<div class="post-metadata">

**Author:** ![bryceb](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@bryceb](https://community.dremio.com/u/bryceb)\
**Post date:** [September 25, 2020, 4:12pm UTC](https://community.dremio.com/t/using-flight-in-java-sql-errors-available/6308/2 "2020-09-25T16:12:55Z")

</div>

Major blocker. Anyone have any suggestions? Third party sql validator or something?

Thanks again

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [September 26, 2020, 6:40am UTC](https://community.dremio.com/t/using-flight-in-java-sql-errors-available/6308/3 "2020-09-26T06:40:47Z")

</div>

@bryceb

Would you be able to post in [https://github.com/dremio-hub/dremio-flight-connector/issues](https://github.com/dremio-hub/dremio-flight-connector/issues)

Thanks  
Bali
