I tried this but also same thing ```Cannot call me...
# suitescript
k
I tried this but also same thing
Copy code
Cannot call method "toSuitelet" of undefined
n
To the best of my knowledge redirect is not part of context.response, redirect is a method of the n/redirect module. So it cannot call toSuitelet of "context.response.redirect" Try removing "context.response."