```{"type":"error.SuiteScriptError","name":"SSS_MI...
# suitescript
n
Copy code
{
  "type": "error.SuiteScriptError",
  "name": "SSS_MISSING_REQD_ARGUMENT",
  "message": "load: Missing a required argument: type",
  "stack": [
    "Error",
    " at Object.getLoadParams (suitescript/resources/javascript/record/recordUtil.js:140:21)",
    " at Function.loadRecord_raw (suitescript/resources/javascript/record/recordImpl.js:93:30)",
    " at suitescript/resources/javascript/record/recordImpl.js:82:27",
    " at Object.loadRecord (suitescript/resources/javascript/record/recordImpl.js:80:24)",
    " at <http://Object.post|Object.post> (/SuiteScripts/project.js:45:33)"
  ],
  "cause": {
    "name": "SSS_MISSING_REQD_ARGUMENT",
    "message": "load: Missing a required argument: type"
  },
  "id": "",
  "notifyOff": false,
  "userFacing": true
}
d
The object being passed to record.load appears to be missing the required value for record type
n
Strange because im passing in the sales order object type
Main issue I have with restlets is the constant "Invalid Login Attempt"
But I modified the code so the Sales Order record type is now passed in as record.Type.Sales_Order rather than using the string "salesorder"
d
What does "View Login Audit Trail" show when you get an invalid login attempt error?
n
I think the invalid login attempts were do to server lag
after reviewing the headers in my post request