The api function is not defined in the allowed functions list