Skip to content
Advertisement

Exception: The parameters (String) don’t match the method signature for SpreadsheetApp.Range.setValues

I was coding and i got stuck on this error. It keeps giving me that error “Exception: The parameters (String) don’t match the method signature for SpreadsheetApp.Range.setValues.” on the .setValues line which doesn’t make any sense to me.

Here is my code.

JavaScript

I tried to debug it and it seem to me it is a number!

Here is a picture of the error:

enter image description here

Would really appreciate the help

If you any questions please let me know.

Thank you.

Advertisement

Answer

Try to change:

JavaScript

with:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement