Document template unable to download in PDI

Vignesh21
Kilo Guru

Hi All,

I am facing issue in my PDI as i am unable to down document template plugin and i am getting this error "Unable to download app package" every time i try 

 

Has anyone else faced this issue?
Please advice

4 REPLIES 4

abbasshaik4
Tera Sage

Hello @Vignesh21,

 

Yes, you can install the Document Template plugin try to search with this name - sn_doc, I have installed the Document Template in my PDI, please refer to the below screenshot's:

Before plugin Installation:

abbasshaik4_0-1793678176614.png

 

After Plugin Installation:

abbasshaik4_1-1793678435458.png

 

After plugin installation still you are facing any issues try to repair the plugin.

 

If it is helpful, please mark it as helpful and accept the correct solution by referring to this solution in the future it will be helpful to them. 

 

Thanks & Regards,

Abbas Shaik

Tanushree Maiti
Tera Patron

Hi @Vignesh21 

 

Which ServiceNow version - are you using in your PDI. 

 Could you share the screen shot of View details after getting the error.

Could you please clear instance cache using cache.do and open PDI in incognito/InPrivate mode of browser and check.

 

In Australia PDI , It was working fine.

TanushreeMaiti_0-1793680234898.png

 

Karine_M
Tera Guru

Hi @Vignesh21 

 

I encountered the same issue, and by running this background script:

 

gs.info('Before: ' + gs.getProperty('sn_appclient.repository_base_url'));
gs.setProperty('sn_appclient.repository_base_url', 'https://appstoreprod.service-now.com/');
gs.info('After: ' + gs.getProperty('sn_appclient.repository_base_url'));

 

(Found here: https://www.servicenow.com/community/developer-forum/pdi-will-not-install-apps-quot-credentials-cann...

 

I was able to perform updates and install apps again.

 

Regards

 

Karine

sanjaygupta
Giga Guru

Hi,

A PDI is a free, unsupported instance, so plugin installs can fail for reasons that aren’t visible from the instance. Community experts note that installs can fail even under normal conditions and suggest retrying after clearing the cache. Document Templates has also been found already present on some PDIs, so it is worth checking that first.

  1. Go to System Definition > Plugins and search for “sn_doc”.
  2. Check whether Document Templates is already installed.
  3. If it is installed but its modules are not visible, clear the instance cache, then log out and back in.
  4. If it is not installed, clear the cache and retry the install. Several attempts may be needed, as a community expert noted the install can fail intermittently.
  5. If it still fails, switch to the legacy store using the option at the top right of the Plugins page, then retry. Some users reported success with this, though it was found through trial and error.
  6. You can also try Repair on the plugin, as described in the “Repair a plugin” page in the ServiceNow documentation. A community member referenced this page for this plugin.

Not every plugin is available on a PDI, and some require a store subscription. PDIs are also unsupported, so this cannot be raised with Support. If nothing works, request a fresh PDI and install the plugin immediately.

To narrow this down further, please share your PDI release, whether sn_doc appears in your plugin list, and the full error text or a screenshot of the install dialog.


Sources: