I have a Google Form that is populating a Google Sheet. Due to having custom formulas in the sheet to manipulate the data populated from the form I am using ARRAYFORMULA to apply to all rows in a column.
I have a custom function to encode rows containing html
function base64EncodeWebSafe(input) {
try {
// Try and fetch the specified url.
return Utilities.base64EncodeWebSafe(input);
} catch (e) {
Utilities.sleep(1000);
return Utilities.base64EncodeWebSafe(input);
}
}
When I call this function inside of ARRAYFORMULA(base64EncodeWebSafe(T2:T))
I receive an error "Cannot convert Array to (class)[]."
What I expect to happen is to apply the encoding function to the range T2:T