i tried to connect Action Button with whitelist api function i got this error
use : @frappe.whitelist()