var userProperties = PropertiesService.getUserProperties();
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAKTLZ51-irO%2BCSQ5m871yhGRG7KE9Gc0H1YGCTG1zEvgyGbYNg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAO8s2Pj3Tcjsx-bfFF%3D4KHAOAVX-VHQYxmpPO4VGekB1BSdmDQ%40mail.gmail.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAO8s2Pj3Tcjsx-bfFF%3D4KHAOAVX-VHQYxmpPO4VGekB1BSdmDQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAKTLZ50F-K-tODJt5ChmOAAt6OK5sW3fi%3Dxn8Qp7rjF2EDShqQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAFX%2Bz3UN2rAmmcK85WQi3%3D8D3Y_oDVYMHVtLKXgeTX%3DJY3LWeQ%40mail.gmail.com.
Ok Then, the only thing that I can think of is that somewhere else in your script, you are wiping out the values which cause the null value to be stored.
As a test, do the write then read them out right away before executing any of the rest of the functionality and see if the values have been stored correctly. If so, you will know your problem is elsewhere.
From: google-apps-sc...@googlegroups.com <google-apps-sc...@googlegroups.com> On Behalf Of Jean-Luc Vanhulst
Sent: December 6, 2020 9:47 AM
To: google-apps-sc...@googlegroups.com
Subject: Re: [Apps-Script] UserProperties in Add-on
I am trying this with a separate personal gmail account, using a spreadsheet that is created and owned by that account.
I'm not getting any errors or exceptions, as per the log file.
ᐧ
On Sun, Dec 6, 2020 at 12:31 PM CBMServices Web <cbmserv...@gmail.com> wrote:
Are these users that get null value back from this, Google Workspace accounts?
If so, check the admin console for the accounts, perhaps they have not been enabled to use this service.
On Sun., Dec. 6, 2020, 9:22 a.m. Jean-Luc Vanhulst, <jlvan...@write2market.com> wrote:
That exactly what I have ( I think :) )
When I run that 'myself' it works fine. When I run it on the app store deployed version I get no error STORING but I get 'NULL" retrieving
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAKTLZ51MuR8rSdgrgidtoWyAz3pCDzFXQBYRntiUE2DX-LrotA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/011601d6cbfd%24cd83f530%24688bdf90%24%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAKTLZ52N5c5McdKWez22n0JZ2env9DJH6cyNzXDPR_hVHqF4Fg%40mail.gmail.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAFX%2Bz3UK%2Bpb_n39mE5DLRPNii9jb9f8%2Bk3LUC6pUCNhM2U3V_w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAKTLZ50YQaWbNFat1tww35hC1j3LYQa_9%3DAZteyVwrfYAC72PA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAFX%2Bz3VryksQWxfurPH%3DFmerKH0HVPMpf7purmfL7b59kHfQtQ%40mail.gmail.com.
SOLUTION FOUND!! -> TRICKY!
So I wanted to start from scratch again and went into the google account I used to remove the add-on. Since it could ALSO not save data in the spreadsheet.
Just FYI - the plug in was installed from the official Chrome site ( https://gsuite.google.com/marketplace/app/import_oura_ring_data_into_google_sheets/1083644127886 ) AND the Oauth screen, asking for confirmation pops up has already been GRANTED!
Under security I noticed this:

To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAKTLZ51mRjr79-Mzmq613X3tk94UJFog3Jb5dd3F3z7cH9Aa9w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/64fd6bfd-fdc6-4e7a-ad0d-4dfa89dfaae2n%40googlegroups.com.