Has anyone else had trouble using the SuiteCloud C...
# sdf
e
Has anyone else had trouble using the SuiteCloud CLI (Java or Node) 2024.2 to list files in the /SuiteScripts/ directory for non-administrator role access? I see this bug (https://github.com/oracle/netsuite-suitecloud-sdk/issues/680) listed but it seems to indicate it's related to VSCode but that's not what I'm seeing. I'm seeing this issue for the Java CLI as well. For example,
./sdfcli listfiles -authid TestCLI -folder "/SuiteScripts"
If I use an authid tied to an Administrator role I get a listing of all my files. But, if I switch to a Developer role I get none.
a
Hello: I could think of 2 reasons. 1: Developer role has limited access. Is it a custom developer role, or a default developer role? 2. Problem with the dev role authID. With the developer role, can you try to create a new authentication ID, and try to list files with that? Or you can try to run anything action like validate, just to make sure auth I'd is working, and then try listing files.
e
Thanks for the suggestions. I did confirm that it can do other actions like validate. Just not the listfiles and also doesn't seem to be able to upload files. It's like it has no access to the SuiteScripts folder at all. It is a custom developer role. I've also tried the standard developer role and it does the same thing.
I figured this out. Turns out I had restricted the SuiteScripts folder to a user group and had to add this user. I don't know how I missed it the first 20 times. 🫣