request.cf.botManagement.score not working

request.cf.botManagement.score not working after building from ts? I dont use ts much so i have no idea why this is happening:
`"exceptions": [
    {
      "name": "TypeError",
      "message": "Cannot read properties of undefined (reading 'score')",
      "timestamp": 1691488611986
    }
  ],
 

I tried it again in vanilla and it does not work there either, I had it working yesterday and got the 99 score, I'm unsure what changed today to make it non functional
export default {
  async fetch(request, env, ctx) {
    return new Response(`score: ${request.cf.botManagement.score}`);
  },
};
Was this page helpful?