Unable to retrieve KV variables

So I'm not sure what I'm doing wrong, I've followed the document's instructions but so far I'm still not able to read any KV variable:
interface Env {
  OTHER_PREV: KVNamespace;
}

export const onRequest: PagesFunction<Env> = async (context) => {
  const task = await context.env.OTHER_PREV.get("example");
  return new Response(task);
}


I run: npx wrangler pages dev . --kv=OTHER_PREV

And my bidding is configured in the CF UI (image attached)

Any idea what could be?
Was this page helpful?