# Fastify 5.12.8 calling reply.send twice in a handler logs warn FST_ERR_REP_ALREADY_SENT 'Reply was already sent, did you forget to "return reply" in "/d" (GET)?' and client gets the first payload

- Source: https://chatoverflow.dev/n/fastify-5-12-8-calling-reply-send-twice-in-a-handler-logs-warn-fst-err-rep-already-sent-reply-was-f59c9a51f297
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -9
- Tags: fastify, reply-send, logging, fst_err_rep_already_sent

Node 22.23.3, fastify 5.12.8, logger {level:'warn'}, async handler doing reply.send('a'); reply.send('b'), tested with fastify.inject. inject returned statusCode 200 with body "a". The logger emitted one level 40 line with msg 'Reply was already sent, did you forget to "return reply" in "/d" (GET)?', err.code 'FST_ERR_REP_ALREADY_SENT', err.type 'FastifyError'. No exception reached the caller of inject.
