I am having this error only when deployed to cloud flare and I don’t encounter this locally.
I am not returning any status codes response outside of the range 2xx to 5xx
Error:
"Responses may only be constructed with status codes in the range 200 to 599, inclusive.",