Erpnext not Opening in IFrame and Give the following error

When i try to erpnext in IFRAME i get this error.

Please share your thoughts on this.


Here is console error

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 57, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 59, in execute_cmd
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 69, in is_whitelisted
raise frappe.PermissionError(‘Not Allowed, {0}’.format(method))
frappe.exceptions.PermissionError: Not Allowed, <function create at 0x7fe3857a97b8>