How to reset User properties / Script properties,

2019-08-27 08:02发布

问题:

I renamed through the interface on UserProperty to blank (a space). Since then I get a "Data Storage Error" when trying to read or write a User or Script property.

e.g.

function test() {
  UserProperties.getProperty("foo");
}

I even can't access anymore the list of properties through the user interface

Does someone have an idea on how I could even reset the whole data storage ?

回答1:

i had to copy the code, delete the project entirely, create a new project and paste my code back in.