I got this error while i am calling scheduler method in hook.py

raise frappe.PermissionError(‘Not Allowed, {0}’.format(method))
11:53:29 web.1 | frappe.exceptions.PermissionError: Not Allowed, <function read_only..innfn..wrapper_fn at 0x7f3f652

Please check is method whitliste or not

And you can make endpoint public too by

allowing_guest = True

yes method is an whitlisted and also allow guest

You have implemented or you have tried and still not able to solve ?

its run but some time get problem