# Oauth Timeout Issue when Using Async

**URL:** <https://forum.elixirforum.com/t/oauth-timeout-issue-when-using-async/60549>\
**Category:** Questions\
**Tags:** oauth2, ex\_oauth2\_provider\
**Created:** [December 24, 2023, 12:29am UTC](https://forum.elixirforum.com/t/oauth-timeout-issue-when-using-async/60549 "2023-12-24T00:29:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![benwilson512](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/32/1457_2.png) [@benwilson512](https://forum.elixirforum.com/u/benwilson512)\
**Post date:** [December 24, 2023, 2:39am UTC](https://forum.elixirforum.com/t/oauth-timeout-issue-when-using-async/60549/2 "2023-12-24T02:39:54Z")

</div>

Hi @bala449 whenever you post a question about an error please always include:

1. The full stacktrace
2. The relevant code pointed to by the stacktrace.

At a high leve, you are getting a timeout error, and then you’re trying to convert that error struct directly to JSON. If you’re asking why you get a timeout, perhaps running multiple requests concurrently is overloading the server, or you are being rate limited?

---

_[View the full topic](https://forum.elixirforum.com/t/oauth-timeout-issue-when-using-async/60549)._
