Unsupported operand type(s) for +: 'NoneType' and 'str'

How to solve this issue?
After I click the send button, it shows an error

Click on “copy error to clipboard” and share?

App Versions

{
	"erpnext": "14.32.1",
	"frappe": "14.42.0",
	"frappe_whatsapp": "0.0.2",
	"hrms": "15.0.0-dev",
	"india_compliance": "14.14.1",
	"payments": "0.0.1"
}

Route

point-of-sale

Traceback

Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 94, 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 1619, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/core/doctype/communication/email.py", line 78, in make
    return _make(
  File "apps/frappe/frappe/core/doctype/communication/email.py", line 172, in _make
    comm.send_email(
  File "apps/frappe/frappe/core/doctype/communication/mixins.py", line 305, in send_email
    if input_dict := self.sendmail_input_dict(
  File "apps/frappe/frappe/core/doctype/communication/mixins.py", line 284, in sendmail_input_dict
    "content": self.get_content(print_format=print_format),
  File "apps/frappe/frappe/core/doctype/communication/mixins.py", line 142, in get_content
    return self.content + self.get_attach_link(print_format)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Request Data

{
	"type": "POST",
	"args": {
		"recipients": "thangapandi027@gmail.com",
		"subject": "POS Invoice: ACC-PSINV-2023-00035",
		"doctype": "POS Invoice",
		"name": "ACC-PSINV-2023-00035",
		"send_email": 1,
		"print_format": "POS Invoice",
		"sender_full_name": "ERP Admin",
		"_lang": "en"
	},
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/frappe.core.doctype.communication.email.make"
}

Response Data

{
	"exception": "TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'"
}

Hi @THANGAPANDIAN,

As per the scenario, I checked in POS Invoice so faced an error.

So I created a PR in GitHub for the issue.

Please check the PR @ankush

If merged PR then your issue will resolve.

Thank You!

Ok thank you Brother