Reasons for inability to download any data import templates

Unable to download any data import templates.
No action happens on click of ‘Download Template’ button.

I do seem to have the necessary permissions . V13

Which doctype are you trying to download via the data import tool? Check in role permissions manager if you have the right to data import that doctype.

Irrespective of doctype …this error is observed … on clicking Download template

FileNotFoundError: [Errno 2] No such file or directory: './assets/js/data_import_tools.min.js’

Are template files available by default after installation ?
… …

It’s possibly an incomplete installation.

Try running:

cd ${YOUR BENCH DIRECTORY}
bench --site ${YOUR SITE NAME} migrate 
bench --site ${YOUR SITE NAME} clear-cache

(Note: In my experience, the site must be up and running or migrate can fail)

If that does not help, there are more in depth upgrade and reload commands I haven’t used recently.