Users Can't submit tickets Frappe Desk

For two days, users can’t submit tickets on Frappe Desk.

I get the following error in the Console. It is related to customers. However, as the agent, if I create the ticket from he backend or from the ticket list, I have a “Customers” cell available and can’t submit tickets without any issues.

Failed to load resource: the server responded with a status of 500 ()
index.df25e30d.js:240 Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 69, 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 45, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1590, in call
    return fn(*args, **newargs)
  File "apps/frappedesk/frappedesk/api/ticket.py", line 246, in create_new
    ticket_doc.customer = values["customer"]
KeyError: 'customer'

Ticketing.cabf952b.js:1 create ticket error : Error: frappedesk.api.ticket.create_new

Probably related to this, but i think is solved now. Is your Frappedesk updated?

Hope this helps.

I have registered for the Frappe Desk plan. I think they are not pushing updates. I even checked my Frappe Cloud dashboard. There were no updates available for the installed apps. I think the best solution for me is to get my private bench and install the apps manually and fetch latest updates.

Hi:

If you have a plan, you have support plan too … have you raised a ticket?
Try https://frappedesk.com/contact-us/new, or even Telegram group Telegram: Contact @frappedesk

Hope this helps.

1 Like

this issues has been fixed in fix: create ticket api issue by kamaljohnson · Pull Request #920 · frappe/desk · GitHub

1 Like