If the header doesn't include cf-connecting-ip, is it a bot?
I'm doing the service through pagesveltekit, but there are often 500 internal server errors. However, neither error stack nor undefined have cf-related headers in the request headers. How did you get to this?