Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have a service which is working.
Have a timer, which starts this service once per year.
When in "Run as user" I use user from different project - it works perfecly.
When I create new user, adjust permissions - I receive this error:
Message ::TypeError: Cannot call method "PostMultipart" of null
I try to log table variable- have data inside, at both users
I try to log url - is correct, at both users.
Line where I have error:
var params = {
partsToSend: table /* INFOTABLE */,
url: url /* STRING */
};
var newVar = Resources["ContentLoaderFunctions"].PostMultipart(params);
Solved! Go to Solution.
"Cannot call method "PostMultipart" of null" means that Resources["ContentLoaderFunctions"] evaluates to "null" for the user.
So your own user does not have visibility permissions for entity ContentLoaderFunctions.
"Cannot call method "PostMultipart" of null" means that Resources["ContentLoaderFunctions"] evaluates to "null" for the user.
So your own user does not have visibility permissions for entity ContentLoaderFunctions.
Surprising, I just thought it's more like system, and would not even guess there is such entity
Found it, set it - and it's working, thanks.