Method Not Allowed
You are not permitted to access this resource.Function is not whitelisted.
Not permitted
Showing this error when i am trying to fill a webform as a guest. I gave the permissions in erpnext. But its not working.
Method Not Allowed
Not permitted
Showing this error when i am trying to fill a webform as a guest. I gave the permissions in erpnext. But its not working.
@Salmanadayatt Write the @frappe.whitelist(allow_guest=ture) above your custom function because u don’t have write decorators to access your function to guest
Example:
@frappe.whitelist(allow_guest = True)
def your_function():
pass