I’m using ERPNext v14
Could you please provide the traceback associated with this error. Maybe it might provide additional information about the specific error.