RestApi For Employees Getting error

I am Getting an error when I try to send a patch request for the Employee

Very Simple body request, this is my first time working with the Employee records, but I have worked with inventoryItem records before without issue.


My Body json

“firstName”: “Glen”

Below is the Response Iam getting when I try to send.

    “type”: “”,
    “title”: “Bad Request”,
    “status”: 400,
    “o:errorDetails”: [
            “detail”: “Error while accessing a resource. TypeError: Cannot read property \”length\” from null (NLRecordScripting.scriptInit$lib#800).”,
            “o:errorCode”: “USER_ERROR”
I am just testing to see if I can update some fields from our ADP data.  But the simple test I am getting is telling me we have a script somewhere that is causing a failure.  But I have no idea how to debug the issue.
Rookie Asked on April 20, 2023 in SuiteTalk.
Add Comment
1 Answer(s)

I agree that this looks like a script error.

You can see the list of scripts deployed to a record under Customization > Scripting > Scripted Records.

Intermediate Answered on May 3, 2023.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor