# Langgraph studio "submit" button is not async supported

**URL:** <https://forum.langchain.com/t/langgraph-studio-submit-button-is-not-async-supported/1414>\
**Category:** Deployment\
**Created:** [August 30, 2025, 10:28am UTC](https://forum.langchain.com/t/langgraph-studio-submit-button-is-not-async-supported/1414 "2025-08-30T10:28:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohamroy2538](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/sohamroy2538/32/771_2.png) [@sohamroy2538](https://forum.langchain.com/u/sohamroy2538)\
**Post date:** [August 30, 2025, 10:28am UTC](https://forum.langchain.com/t/langgraph-studio-submit-button-is-not-async-supported/1414/1 "2025-08-30T10:28:57Z")

</div>

I have async func/nodes which are part of the grapn and in the py file I have to run the _await_ `graph.ainvoke()` to invoke the graph, when I run the studio and click the submit button it throws a **Blocing Error**. I assume that it is invoking the graph via the invoke fn but I need to run it using ainvoke. What is the solution or workaround of this issue.

Thanks

---

<div class="post-metadata">

**Author:** ![wfh](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/wfh/32/33_2.png) [@wfh](https://forum.langchain.com/u/wfh)\
**Post date:** [August 30, 2025, 11:34am UTC](https://forum.langchain.com/t/langgraph-studio-submit-button-is-not-async-supported/1414/2 "2025-08-30T11:34:19Z")

</div>

No the graph is not invoked synchronously. It is invoked asynchronously.

The block by error is in your code. If you look at the error message, it should tell you which call is triggering it.
