I’ve been having a consistent issue for the past couple of days. I have this code:
import { Storage } from '@mondaycom/apps-sdk';
const storage = new Storage(shortLivedToken);
const now = Date.now();
await storage.set(key, now);
...
const response = await storage.get(key);
when I log response I see this often:
"response": {
"success": true,
"value": "[Undefined]",
"version": "[Undefined]"
},
a normal good response looks like:
{
"response": {
"success": true,
"value": "1730228717706",
"version": "3e283"
},
Am I doing anything wrong here? This issue doesn’t happen 100% of the time but quite often.