- Symptom
- /command failed with the error "operation_timeout"ack() runs but the follow-up message is never postedWorks locally, fails only after deploy to a function runtime
- Cause
- Bolt acknowledges first and keeps working afterwards, but function runtimes freeze or stop once the HTTP response is sent. Without process_before_response the rest of the listener never runs, and with it the whole listener must still finish within three seconds.
- Fix
- Set processBeforeResponse in Bolt JS (or use AwsLambdaReceiver), and in Bolt Python set process_before_response=True and move slow work into lazy listeners.
- Apply
app = App(process_before_response=True) app.command("/report")(ack=lambda ack: ack(), lazy=[build_and_post_report])- Affected
- Bolt for JavaScript and Bolt for Python on AWS Lambda, Google Cloud Functions and similar runtimes, as of 2026-10
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders