GlideRemoteGlideRecord throws 500 Internal Server Error?

georgechen
Kilo Guru

Hi folks,

I am experiencing 500 Internal Server Error when attempting to update a record by GlideRemoteGlideRecord, and wondering if anyone could advise if there was a security related issue or something else as the update seemed to pass the authentication, below is my script:

 

find_real_file.png

when executed, it raised 500 Internal Server Error with code : 500,

 

*** Script: debug: remote record found, sys_id=22c9b259dbde9300a5e5446b3a9619a5
Method failed: (https://xxxxxxx.service-now.com/hr.do?SOAP&displayvalue=all&redirectSupported=true)HTTP/1.1 500 Internal Server Error with code: 500
Update failed (Method failed: (https://xxxxxx.service-now.com/hr.do?SOAP&displayvalue=all&redirectSupported=true)HTTP/1.1 500 Internal Server Error with code: 500)
*** Script: debug: result=false

 

The target HR record wasn't updated as expected, and I just wonder if any security settings to do with the instance I'm working on?

 

Any advice would be appreciated,

 

George

 

1 REPLY 1

georgechen
Kilo Guru

After a few sys_property records troubleshooting, it seemed to relate to glide.soap.strict_security,

 

If I temporarily disabled it, the SOAP call was executed and it did not throw the 500 error anymore !

 

Or perhaps the encryption.admin account needed to have security_role . 

 

find_real_file.png