actions-on-google-nodejs icon indicating copy to clipboard operation
actions-on-google-nodejs copied to clipboard

userStorage does not work for some of my alpha testers.

Open varoOP opened this issue 6 years ago • 4 comments

I am storing three values in userStorage.

conv.user.storage.counter = 1;
conv.user.storage.remind = false;
conv.user.storage.share = false;

The values get stored normally and work on my account and for many other accounts of some of my alpha testers as well. Unfortunately , for some of my alpha testers , even though they are verified users with all related settings like web activity etc enabled nothing is stored in their userstorage. I have noticed that this happens for G Suite accounts. My own G suite account is facing this issue. Is this a bug or is it just that I am not aware of some setting ? Any help would be appreciated . Thank you.

varoOP avatar Jan 05 '20 14:01 varoOP

So the users are being marked as VERIFIED but data is still not being saved?

Fleker avatar Jan 06 '20 16:01 Fleker

That's correct. The users are marked as verified but the data isn't saved. I am sorry if this is the wrong place to ask , but is there an alternative to saving data across conversations ?

varoOP avatar Jan 06 '20 16:01 varoOP

This behavior only occurs for a GSuite account, but not a Gmail account?

An alternative would be to use account linking and use your own database solution.

Fleker avatar Jan 06 '20 16:01 Fleker

This behavior only occurs for a GSuite account, but not a Gmail account?

An alternative would be to use account linking and use your own database solution.

As far as I have tested that is true. I have tried it on two of my own business accounts and I face this problem on those. On the normal , personal Gmail accounts , it works fine.

I just re-checked on my g suite account. It does not store anything but in the firebase function logs , it says that the account is verified :

 "originalDetectIntentRequest": {
    "source": "google",
    "version": "2",
    "payload": {
      "user": {
        "locale": "en-US",
        "lastSeen": "2020-01-06T17:03:23Z",
        "userVerificationStatus": "VERIFIED"
      },

varoOP avatar Jan 06 '20 16:01 varoOP