Skip to content
Discussion options

You must be logged in to vote

The way to handle it is described in the error.

Instead of using runOnBackend which requires a non-async function, you can use runAsyncOnBackendWithManualTransactionHandling instead. This differentiation is made because you're not supposed to do any database operations while running asynchronously.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@eliandoran
Comment options

Answer selected by eliandoran
@maphew
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5213 on July 27, 2025 09:26.