anyone ever encountered such a weird error? i am t...
# suitescript
b
anyone ever encountered such a weird error? i am trying to fire a simple script inside a restlet function:
Copy code
var file_object = file.load({
    id: fileId,
  });
  file_object.isOnline = true;
  file_object.save();
and get this weird error in execution log:
Copy code
"populate_package" is not defined.
with the stack trace..
n
Can you try updating that file via UI? mark it as available without login.
b
i want to do it via restlet
n
I know. Can you atleast check doing it via UI?