Looks like you sending some http statuses (via completeWithError) when there are some data already writed into sse stream (http body).
completeWithError)