kylemandell
kylemandell
Explore posts from servers
HHono
Created by kylemandell on 6/13/2024 in #help
TypeError: Response constructor: Invalid response status code 204
Ahh - yes I realised that a small change elsewhere meant the body was being passed as {} rather than undefined. Better error messages in this case sound good to me!
12 replies
HHono
Created by kylemandell on 6/13/2024 in #help
TypeError: Response constructor: Invalid response status code 204
Actually, just gone back to 4.3.9 and it seems to be happening there too
12 replies
HHono
Created by kylemandell on 6/13/2024 in #help
TypeError: Response constructor: Invalid response status code 204
This is on Hono 4.4.5, but I don't believe it was an issue when I was on 4.3.9
12 replies
HHono
Created by kylemandell on 6/13/2024 in #help
TypeError: Response constructor: Invalid response status code 204
I don't have much else to share, I'm just trying to return c.json({}, 204) and still get that error
12 replies
HHono
Created by kylemandell on 6/13/2024 in #help
TypeError: Response constructor: Invalid response status code 204
node
12 replies
HHono
Created by kylemandell on 6/13/2024 in #help
TypeError: Response constructor: Invalid response status code 204
Yup - same error occurs
12 replies