Exception: The number of rows in the data does not match the number of rows in the range.

GASからスプレッドシートへの
書き込みを実行した際に
タイトルのエラーが発生しました。
Exception: The number of rows in the data does not match the number of rows in the range.

これを翻訳すると
「例外です。データ内の行数と範囲内の行数が一致しない。」
なるほど、、、w

どうやら下記のコードが悪かったようです。

A1~C3まで3行使用すると宣言しているのに、
実際には2行しか配列がない!
ということでエラーになっていたのですね。

下記に修正することで実行されました。

凄い単純な結果でした!

以上です。
最後までお読みいただきありがとうございました!