Discussions
How to fix an error?
Hi team,
I hope
you are doing well.
We are using SOAP to retrieve entities from the NetSuite and are getting an error:
Script Security Violation: Unauthorized attempt to edit entity with Administrator role by SuiteScript!
But we are not editing, creating, or deleting entities. Could you please help with this? what is the reason for such an error?
I'm attaching the request and response.
REQUEST:
<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ns1:searchPreferences soapenv:mustUnderstand="0" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"