I'm following the G-Suite tutorial , and I have a two error message :
Message: Error on requestToken: Exception: tException raised: access denied (java.lang.RuntimePermission accessClassInPackage.sun.net.www.protocol.https)n
Message: Business logic error: Exception: tException raised: No such property: token for class: RestrictedScriptn
I think the second one cannot be solve while the first one is still active.
I try to send e-mail in the middle of the code in order to identify the source of this error message. Here the source is a this line : "connection.setRequestMethod(requestMethod);" in the sendHttpRequest function.
Can someone explain me how i can proceed ?