is your script a client script?
# suitescript
k
is your script a client script?