KV.get is not returning the same value depending on the circumstances

Hello! I have a really weird problem with KVs. I am trying to get the same KV in 3 different circumstances :
  • A request I do from my browser
  • A request Discord sends me (when I use a slash command for my bot)
  • The wrangler kv:key get command
    In the first case, the value is up to date but in the 2 other cases, I get outdated data (I changed it about 10 minutes ago) and it does not update.
    I have no idea what could be causing this 😦
Was this page helpful?