Worker getting canceled after first request
Hi!
I'm making a Discord bot on Workers, and it needs to defer the interaction. I'm doing a subrequest to defer, and then doing the rest of the logic which involves multiple subrequests.
This works fine in dev. However, in prod, it always does this first subrequest and then gets canceled:
What causes Workers to say "Canceled", and how can I fix this?
I'm making a Discord bot on Workers, and it needs to defer the interaction. I'm doing a subrequest to defer, and then doing the rest of the logic which involves multiple subrequests.
This works fine in dev. However, in prod, it always does this first subrequest and then gets canceled:
What causes Workers to say "Canceled", and how can I fix this?