helpdesk
helpdesk copied to clipboard
Error while creating ticket from Agent Portal
Traceback (most recent call last): File "apps/frappe/frappe/app.py", line 95, in application response = frappe.api.handle() File "apps/frappe/frappe/api.py", line 54, in handle return frappe.handler.handle() File "apps/frappe/frappe/handler.py", line 47, in handle data = execute_cmd(cmd) File "apps/frappe/frappe/handler.py", line 85, in execute_cmd return frappe.call(method, **frappe.form_dict) File "apps/frappe/frappe/init.py", line 1622, in call return fn(*args, **newargs) File "apps/helpdesk/helpdesk/helpdesk/doctype/hd_ticket_template/api.py", line 17, in get_one found, about = frappe.get_value(DOCTYPE_TEMPLATE, name, ["name", "about"]) TypeError: cannot unpack non-iterable NoneType object
Cannot read properties of undefined (reading 'filter')
Can you share a screenshot/recording/payload? name
is either missing or the template does not exist
Traceback (most recent call last): File "apps/frappe/frappe/app.py", line 95, in application response = frappe.api.handle() File "apps/frappe/frappe/api.py", line 54, in handle return frappe.handler.handle() File "apps/frappe/frappe/handler.py", line 47, in handle data = execute_cmd(cmd) File "apps/frappe/frappe/handler.py", line 85, in execute_cmd return frappe.call(method, **frappe.form_dict) File "apps/frappe/frappe/init.py", line 1622, in call return fn(*args, **newargs) File "apps/helpdesk/helpdesk/helpdesk/doctype/hd_ticket_template/api.py", line 17, in get_one found, about = frappe.get_value(DOCTYPE_TEMPLATE, name, ["name", "about"]) TypeError: cannot unpack non-iterable NoneType object
@asoral what is the payload? You can see that in request (network tab)
The error is when there is no ticket template of name Default. I created one manually and got it resolved for now. But couldn't understand why would that be a validation
I have the same problem
Network Tab:
I encountered an issue upon opening the Frappe Helpdesk for the first time after installation. When I clicked on "New Ticket," I received the following error messages:
"TypeError: Internal Server Error"
Upon attempting to submit a new ticket, the error message "A.value is undefined" was displayed.
this the console log
POST http://127.0.0.1:8000/api/method/helpdesk.helpdesk.doctype.hd_ticket_template.api.get_one [HTTP/1.1 500 INTERNAL SERVER ERROR 18ms]
Traceback (most recent call last): File "apps/frappe/frappe/app.py", line 110, in application response = frappe.api.handle(request) File "apps/frappe/frappe/api/init.py", line 49, in handle data = endpoint(**arguments) File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call return frappe.handler.handle() File "apps/frappe/frappe/handler.py", line 49, in handle data = execute_cmd(cmd) File "apps/frappe/frappe/handler.py", line 85, in execute_cmd return frappe.call(method, **frappe.form_dict) File "apps/frappe/frappe/init.py", line 1701, in call return fn(*args, **newargs) File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper return func(*args, **kwargs) File "apps/helpdesk/helpdesk/helpdesk/doctype/hd_ticket_template/api.py", line 17, in get_one found, about = frappe.get_value(DOCTYPE_TEMPLATE, name, ["name", "about"]) TypeError: cannot unpack non-iterable NoneType object
the payload request
name:"Default"
Experiencing the same issue, did you find any solution ?? When I clicked on "New Ticket," I received the following error messages:
"TypeError: Internal Server Error"
Experiencing the same issue, did you find any solution ?? When I clicked on "New Ticket," I received the following error messages:
"TypeError: Internal Server Error"
To resolve this issue, navigate to doctype > Ticket Template, then create a new Ticket Template named "Default" and it should function properly.
I have added the said default template when i click new ticket and submit a ticket its now getting Internal Server Error popup message
I have added the said default template when i click new ticket and submit a ticket its now getting Internal Server Error popup message
after adding new Ticket Template named "Default"
add doctype >HD Ticket Type
doctype >HD Ticket Priority
doctype >HD Preset Filter
and add any think in HD Service Level Agreement
like
doctype >HD Preset Filter
I have added all the doc mentioned, but still getting the same kind of error
Please help
should be fixed now, re-open if the issue still persists