Oauth Timeout Issue when Using Async

Why I got this Error? :thinking:


This error occurs specifically when I use the Task.async function. Is this issue related to Task.async function?
Is there any solution for this issue? If anyone knows, don’t hesitate to say. :sweat_smile:

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?

1 Like