is there a specific version of java needed to run ...
# sdf
d
is there a specific version of java needed to run sdfcli?
Copy code
java --version
java 11.0.7 2020-04-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.7+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)
I used
sdfcli authenticate
to create access tokens, but when I use
sdfcli importfiles
or
sdfcli listfiles
i'm getting errors:
Copy code
sdfcli listfiles -authid sb2 -folder "/SuiteScripts"
An unexpected error has occurred
I'm getting the same error with webstorm and eclipse plugins, making me wonder if I'm on an unsupported version of java?
a
Java version is fine. Something changed on server side unexpectedly we are working on a solution. Can you deploy with authid? Can you paste the complete errors ?
d
I had the same error with authid too
from the console the only error I see is:
An unexpected error has occurred
and I got the same error with both
sdfcli
and
suitecloud
a
Just this line, nothing below or above?
d
nothing else. If I don't use
-authid
it give me the generic message about making the switch
is there a verbose flag i'm missing?
Copy code
sdfcli listfiles -authid sb2 -folder "/SuiteScripts/MyCompany"

An unexpected error has occurred
Copy code
suitecloud file:list --folder "/SuiteScripts/MyCompany"

An unexpected error has occurred
a
Ok. It might not be the same issue i was talking about. Did you get any notification for account maintenance around this time?
d
I'll check... I am able to use
suitecloud file:import -i
we did have scheduled maintenance last night from 10-11pm PST
nope, that errored out too:
Copy code
suitecloud file:import -i
? Select the path from where you want to import the files /SuiteScripts/MyCompany
An unexpected error has occurred
@Ali Syed (NS DevTools QA) this error is specific to our SB2 account, other other SB is just fine
a
@dbaghdanov Thats seems weird. Can you issue new token for SB2? which version is SB2 on?
d
I'll try in a bit. My colleagues where having a similar issue listing /SuiteScripts. SB2 is 2020.1.0.120
issued a new token, same error when listing files