In workers request.cf is empty

The following returns an empty object. Is there any config needed to populate the cf object?

addEventListener('fetch', event => {
    console.log(event.request.cf)
})

Is it deployed? It needs to be deployed for the cf object to exist.

Yes, it is. I am using the web console on cloudflare.com to inspect & trigger a request

Yeah you won’t see the cf object there. If you deploy and then tail with wrangler you’ll probably see it.

Well when I just invoke the worked I get 500 because of trying to access

event.request.cf.country

(cf empty)