The resource you are looking for is not available

<img src="/uploads/default/original/2X/3/3b3f56de3c69a9c33035a48740e741d4c9b9acf2.png" width=“690” height="388

when am trying to convert any document like / sales order/ pi/etc its showing above message.

but when am trying to create pdf from any report its working fine. like stock balance

http://107.170.4.109/api/method/frappe.utils.print_format.download_pdf?doctype=Quotation&name=CACM%2F17-18%2FQTN%2F00003&format=proforma%20invoice%20or%20quotation%20cam&no_letterhead=0&_lang=en

the url

any solution ?

Can you share error message from your console?

frappe.utils.print_format.download_pdf Failed to load resource: the server responded with a status of 404 (NOT FOUND)

Maybe you could have accidentally deleted or moved files to some other directory, try to do a “git status” in apps/erpnext and apps/frappe to check

I have updated through bench update today.
the problem arise after that

root@withdropbox-1gb-nyc2-01-original-erp6:/home/frappe/frappe-bench/apps/erpnex t# git status
On branch master
Your branch is up-to-date with ‘upstream/master’.

Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git checkout – …” to discard changes in working directory)

    modified:   erpnext/accounts/report/trial_balance_for_party/trial_balanc                                                                                                             e_for_party.json

Untracked files:
(use “git add …” to include in what will be committed)

    erpnext/accounts/report/trial_balance_for_employee_and_supplier/

root@withdropbox-1gb-nyc2-01-original-erp6:/home/frappe/frappe-bench/apps/frappe# git status
On branch master
Your branch is up-to-date with ‘upstream/master’.

nothing to commit, working directory clean

when I email the same there is a pdf attachment.

&format=proforma, is this a custom format? and does the file exist on your server?

yea… it’s there.

it’s not only for quotation for each document I am facing the same problem

can anyone help me ?

I too am facing the same problem
not able to print any document
Any solution for this

can you try bench update and see if it works coz i encountred a weared problem the same code gives me that error and after update issue gone :expressionless:

it was solved after bench update

1 Like

Cc @fahimalizain same error here

Hi @Sumit_Das can you tag this post as resolved thank you