Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Having issues deploying the app using now-sdk

andreibanu
Tera Contributor

Hello all
I have my fluent app in a github repo and I must review some changes on a branch.
I have the sdk installed globally on my machine
After i checkout locally on that certain branch i can build and install the app in a pdi.
Now comes the issues :
-> if i make some changes and I try to deploy again i cannot do it: I use now-sdk install / now-sdk deploy but i have this error:"[now-sdk] ERROR: Could not determine app installation status. Check instance to verify installation."
-> if i change something in the instance, for example adding a bussines rule and i try to sync using now-sdk transform (here i used the debugger):
"[now-sdk] ERROR: Transform failed. Not allowed to download application x_1913889_opswat. Check that you either have maint access or have added your company key (e.g. sn for ServiceNow) to the sn_appauthor.all_company_keys system property.
Error: Not allowed to download application x_1913889_opswat. Check that you either have maint access or have added your company key (e.g. sn for ServiceNow) to the sn_appauthor.all_company_keys system property.
at Orchestrator.download (/home/gabrielbanu/.nvm/versions/node/v24.14.0/lib/node_modules/@servicenow/sdk/node_modules/@servicenow/sdk-api/dist/orchestrator.js:575:27)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Orchestrator.transform0 (/home/gabrielbanu/.nvm/versions/node/v24.14.0/lib/node_modules/@servicenow/sdk/node_modules/@servicenow/sdk-api/dist/orchestrator.js:259:34)
at async Orchestrator.transform (/home/gabrielbanu/.nvm/versions/node/v24.14.0/lib/node_modules/@servicenow/sdk/node_modules/@servicenow/sdk-api/dist/orchestrator.js:291:37)
at async /home/gabrielbanu/.nvm/versions/node/v24.14.0/lib/node_modules/@servicenow/sdk/node_modules/@servicenow/sdk-cli/dist/command/transform/index.js:131:17
at async Object.handler (/home/gabrielbanu/.nvm/versions/node/v24.14.0/lib/node_modules/@servicenow/sdk/node_modules/@servicenow/sdk-cli/dist/command/transform/index.js:108:9)"

I managed to add that key using a script but this does solve the issues.

In my pdi when i check the app, i see that is present there but mark as external.

Is there a way to use this flow GitHub -> VSCode -> PDI using the SNow sdk?

Any ideas would help a lot


1 REPLY 1

Tanushree Maiti
Kilo Patron

Hi @andreibanu 

 

Navigate to Application Manager

Verify If ServiceNow IDE version is installed .

If it's not installed, Get it from the ServiceNow Store ->sync the Application Manager

If it is installed, but not with latest version , Update it

If it is installed with latest version, Repair the plugin .

Retry.

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: