You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Vercel KV in my Nextjs app. Despite the key being available in the storage, I've noticed that the KV library returns null when I start the dev server. It returns correct data after that until I restart the server. When I restart, it again does the same thing. Here is the sample code:
import{kv}from'@vercel/kv';constaccessTokenData=awaitkv.get('accessTokenData');console.log(accessTokenData);// <--- null on the first try, fetches correct data afterwards.
The text was updated successfully, but these errors were encountered:
I'm using Vercel KV in my Nextjs app. Despite the key being available in the storage, I've noticed that the KV library returns null when I start the dev server. It returns correct data after that until I restart the server. When I restart, it again does the same thing. Here is the sample code:
The text was updated successfully, but these errors were encountered: