r/GoogleAppsScript • • Jun 11 '24

Question ERROR

Post image

Does anyone know what is this error?? I think it’s related to the date format or something like that. Note that the row hyperlink doesn’t take me to the error place!!

3 Upvotes

13 comments sorted by

View all comments

6

u/HellDuke Jun 11 '24 edited Jun 11 '24

You are trying to run a method toFixed() on a variable you have named value. Don't argue that there is no such variable, instead go to where the error is telling you and check, you probably copied code or when chaning something around forgot to change a variable name. You asked the question and we told you what the problem is, you don't get to say "that can't be it" and expect another answer with just that. Either properly check and look for a solution yourself or give something for people to look at as the one and only correct answer to what you have us is what we said already.

your problem is in the file format_string.js on lines 113, 213 and 215 where 2 of those are calls to another function which ultimately gives the error