I am having issues connecting to a Vercel KV store I've recently setup. I have done the following steps...
- Created a Vercel kv store via Vercel's dashboard
- Connected the KV store to an existing project hosting on Vercel
- Used the Vercel CLI to pull environment variables into an .env.development.local file. I also have the four main environment variables for KV in an .env and a .env.local file (all the same values)
- In my code, I am using the Vercel SDK as follows...

Whenever I reach the kv.set call, I receive the following error: "UpstashError: DB connection refused, command was: [["set","9", "{... } ]]"
I have also tried using the "kv" export from /kv with the same effect.
Any help understanding why I am unable to connect would be appreciated! Thank you!