Hi all, are SDF CLI updates not backwards compatib...
# sdf
r
Hi all, are SDF CLI updates not backwards compatible? Our NetSuite account will still be on 2022.1 until next month, but I decided to install the latest version of SDF CLI for Node.js for 22.2 just to try it out. Despite generating new tokens and despite being able to import objects from the account, I'm unable to deploy. I'm getting an unexpected error and then "Access Denied":
a
It's not a compatibility issue with the cli and NS. If you try with older version, you will get tge same error I suppose. Is it a suiteapp? Are you deploying to a SB? The role is admin or custom developer ?
r
This is just a basic account customization and I'm testing by deploying to different sandbox environments. I'm using a custom developer role we created for this purpose. I had no problem deploying using the older version, it was only when I upgraded that I began seeing this error
a
Has your SB refreshed lately? I think its some how related to permissions with the role. Try with the admin, it will proceed.
This error is not related to the upgrade to new CLI.
r
You're right, I was able to deploy as an administrator. No sandbox updates recently and I'm not seeing anything obvious in the role differences. I'll keep digging. Thanks!
s
@rmhollands I believe I’ve similar issue. Were you able to identify what it was?
a
@rmhollands There is a tool which lets you compare permissions between 2 roles. You can compare your custom role, and compare it with the default developer role. see if you are missing something. https://system.netsuite.com/app/setup/diffroles.nl
s
I checked it, only difference is Login using OAuth 2.0 which I believe shouldn’t impact
a
If you have any FileCabinet stuff, make sure access to FC is not restricted
Can you DM me your accountID? and trigger a deploy on your end.
s
One idea I’ve is role has SAML SSO enabled but in that case it should be able to download files as well. I can upload individual file through VS Code, so there is no restriction
we’ve reviewed with @Ali Syed (NS DevTools QA) and problem resolved after removing “Web Site Hosting Files” folder from the project
r
@Selcuk Dogru @Ali Syed (NS DevTools QA) that's so odd...I removed the "Web Site Hosting Files" folder and it worked for me, too.
s
I can’t see any specific permission for that, most probably comes after enabling some feature. It might be good to remove it from default project as it is not common to have it in standard NetSuite accounts