Google sheet setValues

I would like to write some data to a spreadsheet using setValues function.
Runing the code below return the message:
“Exception: The parameters (number[]) don’t match the method signature for SpreadsheetApp.Range.setValues.”

var ss= SpreadsheetApp.openByUrl(ss_url);
var ws = ss.getSheetByName("Liste");
 var data=["1","2", "3", "4"];
ws.getRange(2,5,1,4).setValues(data);