Hi,
Notifications are not working in the Frappe Cloud hosted Frappe Builder site. The site is not brought from local backup. The Site is created fresh in Frappe Cloud.
The error message we are getting is
### App Versions
{
“builder”: “1.15.0”,
“email_delivery_service”: “0.0.1”,
“frappe”: “15.60.0”
}
### Route
Form/Email Queue/1ankkcoked
### Traceback
Traceback (most recent call last):
File “apps/email_delivery_service/email_delivery_service/controller.py”, line 30, in send
exception = error[“exception”]
~~~~~^^^^^^^^^^^^^
KeyError: ‘exception’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 115, 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 51, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/handler.py”, line 87, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/init.py”, line 1729, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/utils/typing_validations.py”, line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/email/doctype/email_queue/email_queue.py”, line 447, in send_now
record.send()
File “apps/frappe/frappe/email/doctype/email_queue/email_queue.py”, line 169, in send
method(self, self.sender, recipient.recipient, message)
File “apps/email_delivery_service/email_delivery_service/controller.py”, line 34, in send
frappe.throw(error, requests.HTTPError)
File “apps/frappe/frappe/init.py”, line 607, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 572, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 523, in _raise_exception
raise exc
requests.exceptions.HTTPError: {“exc_type”:“InvalidSecretKeyError”,“_server_messages”:“["{\"message\": \"Please provide a valid secret key.\", \"title\": \"Message\", \"indicator\": \"red\", \"raise_exception\": 1, \"__frappe_exc_id\": \"0fee5e928f5bb30b780c7cd0a43ec47e801680e6c0f2f636105a3595\"}", "{\"message\": \"Please provide a valid secret key.\", \"title\": \"Message\", \"indicator\": \"red\", \"raise_exception\": 1, \"__frappe_exc_id\": \"47bbf5b078d251376cfd03f8ae06aad3e686fa77fcb7b5a61e0399b6\"}"]”}
### Request Data
{
“type”: “POST”,
“args”: {
“name”: “1ankkcoked”
},
“btn”: {
“0”: {},
“length”: 1
},
“headers”: {},
“error_handlers”: {},
“url”: “/api/method/frappe.email.doctype.email_queue.email_queue.send_now”,
“request_id”: “525349a1-0602-46c3-8f6f-37dac0f3a877”
}
### Response Data
{
“exception”: “requests.exceptions.HTTPError: {"exc_type":"InvalidSecretKeyError","_server_messages":"[\"{\\\"message\\\": \\\"Please provide a valid secret key.\\\", \\\"title\\\": \\\"Message\\\", \\\"indicator\\\": \\\"red\\\", \\\"raise_exception\\\": 1, \\\"__frappe_exc_id\\\": \\\"0fee5e928f5bb30b780c7cd0a43ec47e801680e6c0f2f636105a3595\\\"}\", \"{\\\"message\\\": \\\"Please provide a valid secret key.\\\", \\\"title\\\": \\\"Message\\\", \\\"indicator\\\": \\\"red\\\", \\\"raise_exception\\\": 1, \\\"__frappe_exc_id\\\": \\\"47bbf5b078d251376cfd03f8ae06aad3e686fa77fcb7b5a61e0399b6\\\"}\"]"}”,
“exc_type”: “HTTPError”,
“_exc_source”: “email_delivery_service (app)”,
“_server_messages”: “["{\"message\": \"{\\\"exc_type\\\":\\\"InvalidSecretKeyError\\\",\\\"_server_messages\\\":\\\"[\\\\\\\"{\\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Please provide a valid secret key.\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"indicator\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"red\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"raise_exception\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"__frappe_exc_id\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"0fee5e928f5bb30b780c7cd0a43ec47e801680e6c0f2f636105a3595\\\\\\\\\\\\\\\"}\\\\\\\", \\\\\\\"{\\\\\\\\\\\\\\\"message\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Please provide a valid secret key.\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"indicator\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"red\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"raise_exception\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"__frappe_exc_id\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"47bbf5b078d251376cfd03f8ae06aad3e686fa77fcb7b5a61e0399b6\\\\\\\\\\\\\\\"}\\\\\\\"]\\\"}\", \"title\": \"Message\", \"indicator\": \"red\", \"raise_exception\": 1, \"__frappe_exc_id\": \"b5062f544b4703f14edca4f6c6313c2f8953340273abcc04d2399fe5\"}"]”
}