"Insufficient rights for creating new records" using Perl script to post to a specific instanceIssue <!-- div.margin{ padding: 10px 40px 5px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } --> Insufficient rights for creating new records" using Perl script to post to a SOAP request to a specific instance When posting a request using a Perl script, the client received the following errorInsufficient rights for creating new records: com.glide.processors.soap.SOAPProcessingException: Insufficient rights for creating new records:This error occurred only in one environment where the same script worked on all other instances. Symptoms: When posting a SOAP request using a Perl script, there was an error returned consistently stating that the UserID being used in the script had " Insufficient rights for creating new records." Therefore, a new Change Request record was not being created in the instance. This very same user when logging in to the instance is able to create the Change Request record, but not from the script. This same script works on other environments like QA, Dev, and Test but does not work on Prod.Error seen in the logs: insufficient rights for creating new records: com.glide.processors.soap.SOAPProcessingException: Insufficient rights for creating new records: com.glide.processors.soap.command.Insert.process(Insert.java:42) com.glide.processors.soap.SOAPProcessorThread.doCommand(SOAPProcessorThread.java:288) com.glide.processors.soap.SOAPProcessorThread.doCommand(SOAPProcessorThread.java:277) com.glide.processors.soap.SOAPProcessorThread.processStandardWebService(SOAPProcessorThread.java:212) com.glide.processors.soap.SOAPProcessorThread.processBody(SOAPProcessorThread.java:192) com.glide.processors.soap.SOAPProcessorThread.processRequest(SOAPProcessorThread.java:159) com.glide.processors.soap.SOAPProcessorThread.run0(SOAPProcessorThread.java:123) com.glide.util.ParentedThread.run(ParentedThread.java:51) <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internalTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:0; } .sp td{ border-bottom: 1px solid; border-right: 1px solid; border-color:#E0E0E0; background-color: #ffffff; height: 20px; padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; } .sphr td{ border-right: 1px solid; border-bottom: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .5em; padding-bottom: .5em; padding-left: .5em; padding-right: .5em; height: 20px; } .title { color: #D1232B; font-weight:; font-size:25px; } .hd1{ color: #D1232B; font-weight:; font-size:18px; } .hd2{ color: #646464; font-weight:bold; font-size:16px; } .hd3{ color: #7a7a7a; font-weight:; font-size:16 px; text-decoration:; } .hd4{ color: #000000; font-weight:bold; font-size:14 px; text-decoration:; } -->CauseThe issue appeared to be caused by the UserID not having the right ACL (Access Control List) permissions to create a record using the Change Request table. The real cause, however, was that the Change Request page was set as a public page and was bypassing the ACL logic. ResolutionWhen the issue was debugged, we discovered that the Change Request page was set as a public page. Checking System Definition > Public Pages in the system confirmed that the Change Request page was set as a public page. The page was bypassing the ACL logic and trying to insert the payload as a guest user, causing the error. After the page was set as non-public, it started to work as expected. Navigate to System Definition > Public Pages.Search for the page for Change Request and remove it from the list to make it a non-public page. This is how it was debugged. In looking at the Local Hosts logs the line showed " 01/14/15 11:32:41 (333) SYSTEM Bypassing ACL checks for a public page: /change_request.do " . Hence it was bypassing the ACL logic and trying to insert the data as a 'guest' user. Trace / Log section: 01/14/15 11:32:35 (473) 00D307263CA53100AE2FA56CEC8D4FC4 /xmlstats.do -- transaction time: 0:00:00.037, waited: 0:00:00.000, source: 127.0.0.1 01/14/15 11:32:41 (327) SYSTEM Inactivity time changed from 1800 seconds to 28800 seconds01/14/15 11:32:41 (327) SYSTEM Session created: 2DD343663CA53100AE2FA56CEC8D4F16, timeout after 480 minutes of inactivity01/14/15 11:32:41 (333) SYSTEM HTTP authorization validated user 'guest'01/14/15 11:32:41 (333) SYSTEM Bypassing ACL checks for a public page: /change_request.do01/14/15 11:32:41 (334) SYSTEM *** Start #529, path: /change_request.do, user: guest01/14/15 11:32:41 (334) SYSTEM SOAPProcessor: initial session inactivity timeout is 60 seconds01/14/15 11:32:41 (334) SYSTEM SOAPProcessor: initial soap request timeout is 15 seconds01/14/15 11:32:41 (334) SYSTEM SOAPProcessor: session inactivity timeout changed to 60 seconds01/14/15 11:32:41 (337) SYSTEM SOAPProcessor: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><soap:Body><insert xmlns="http://www.service-now.com/"><short_description xsi:type="xsd:string">Remove legacy nagios configuration</short_description><category xsi:type="xsd:string">MONITORING</category></insert></soap:Body></soap:Envelope>01/14/15 11:32:41 (339) SYSTEM Created SOAPProcessorThreade1d343663ca53100ae2fa56cec8d4f1701/14/15 11:32:41 (363) SYSTEM Insufficient rights for creating new records: com.glide.processors.soap.SOAPProcessingException: Insufficient rights for creating new records: com.glide.processors.soap.command.Insert.process(Insert.java:42)