- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 09:48 AM
Hello all, I'm not sure what I've done but I'm not able to use sdk-now fetch. I am properly authenticated in the instance since I was able to create a new scoped application, but I cannot use sdk-now fetch. Every time I try it I get this error:
❯ now-sdk deploy
[now-sdk] Starting deployment...
[now-sdk] Attempting to log into instance https://<instance-name-Icensored>.service-now.com as user_name_I_censored.
[now-sdk] Deploying app package to https://<instance-name-Icensored>.service-now.com from /Users/user.name/Documents/NuvoSource/now-sdk-projects/test
[now-sdk] Successfully deployed application to your instance.
❯ now-sdk fetch
[now-sdk] Fetching application metadata from instance...
[now-sdk] [WARN] WARN: Updates to JavaScript modules are not included when fetching application metadata from your instance.
[now-sdk] Attempting to log into instance https://<instance-name-Icensored>.service-now.com as user_name_I_censored.
[now-sdk] Downloading metadata for sdk-test from instance https://<instance-name-Icensored>.service-now.com...
[now-sdk] Downloading application package for <sys_id_I_censored> from https://<instance-name-Icensored>.service-now.com
[now-sdk] Unzipping downloaded package...
[now-sdk] [ERROR] Failed to fetch application: ENOENT: no such file or directory, open '/var/folders/yv/yy4m3cb51x5cz2hp2h08mtfc0000gp/T/nowsdk/app/app.zip'
I've shown an example with now-sdk deploy to showcase that I am authenticated and I am able to deploy, I'm not able to use fetch, nor can I convert applications, since it's using fetch to grab them initialy underneath, I guess.
I have rights to the folder that app.zip is supposed to be downloaded to and my company antivirus does not report anything being deleted. I've been stuck at this for a while now and google did not help, hope you guys can!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 05:36 AM
Can you confirm the family release version of your instance, the API used in fetch was introduced in Washington DC release.
If your instance version is higher than W, can you open a Customer case on support.servicenow.com and so that our team('fluent') can take a look at the instance ?
-- Venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 10:09 AM
Hi @Viktor Vidolov1,
Can you look at the instance logs and see if there are any errors in there ?
-- Venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 05:25 AM
I've actually got an error:
Requested URI does not represent any resource: /fluent/download/<sys_id_I_censored>: no thrown error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 05:36 AM
Can you confirm the family release version of your instance, the API used in fetch was introduced in Washington DC release.
If your instance version is higher than W, can you open a Customer case on support.servicenow.com and so that our team('fluent') can take a look at the instance ?
-- Venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 08:06 AM
It seems like you are correct. I wasn't aware I was working on a Vancouver instance. I've got some issues with conversion now, but I guess that is a different topic.