Trying to save a 2mb file and receiving a "exceede...
# suitescript
s
Trying to save a 2mb file and receiving a "exceeded 10mb". Anyone else running into this issue?
e
how do you know it's only 2mb?(maybe there is more in the file, than what you expect...) try to log the File.size, just before when you do the File.save(). there is for sure smth added to the file-object, which makes it actually be bigger than 10mb, when you want to save it