Hi, I’m having a problem activating extension afte...
# suitecommerce
j
Hi, I’m having a problem activating extension after a SB refresh. I get the following error regarding the Extension Configuration job: "message":"file.load: missing a required argument: id" Has someone experienced this before?
c
Somewhere in your extension code, someone is calling the
N/file
module's
file.load
method and is not supplying the
id
parameter. I'm guessing that the typescript won't compile because of this? If you post the rest of the stack trace we might be able to help more.
j
Thanks for your reply @Chris ! Yes, the problem is more precisely here. {"type":"error.SuiteScriptError","name":"81393","message":"file.load: Missing a required argument: id","stack":["createError(N/error)"],"cause":{"message":"file.load: Missing a required argument: id","stack":["createError(N/error)","map(/SuiteBundles/Bundle 390093/ExtensionMechanism.Server/CompilersMapReduce/ConfigurationCompilerMapReduce.js:159)","createError(N/error)"],"name":"81393"},"id":"","notifyOff":false,"userFacing":true} For some reason the Configuration Job MR’s getInputData function doesn’t seem to retrieve any data. This is hard to debug because the script files are locked. This is happening after doing a SB refresh, so right now the account is an exact copy of our Production environment. Any troubleshooting ideas are much appreciated 👍
c
I would try to figure out what file
getInputData
is looking for and make sure it exists.
j
Thanks @Chris . Unfortunately the files are locked, so it’s hard to put in a debug logs there.