Failed to get method for command my_app.api.execute_function with 'list' object is not callable

i tried to connect Action Button with whitelist api function i got this error



use :
@frappe.whitelist()

2 Likes