Hey All,
Our API call that enables customers for customer center access has recently stopped working.
Our API user account has FULL permissions on Customer records, however the error message we're getting says we don't have permissions.
Here are the raw soap messages that show the request and response.
Request:
<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soap:Body> <update xmlns="urn:messages_2013_1.platform.webservices.netsuite.com"> <record xmlns:q1="urn:relationships_2013_1.lists.webservices.netsuite.com" internalId="012345" xsi:type="q1:Customer"> <q1:giveAccess>true</q1:giveAccess> <q1:accessRole type="contactRole" internalId="012345"/> <q1:sendEmail>true</q1:sendEmail> <q1:password>********</q1:password> <q1:password2>********</q1:password2> <q1:requirePwdChange>true</q1:requirePwdChange> </record> </update> </soap:Body> </soap:Envelope>
Response: <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2013_1.platform.webservices.netsuite.com"> <platformMsgs:nsId> WEBSERVICES_0123456789 </platformMsgs:nsId> </platformMsgs:documentInfo> </soapenv:Header> <soapenv:Body> <updateResponse xmlns="urn:messages_2013_1.platform.webservices.netsuite.com"> <writeResponse> <platformCore:status xmlns:platformCore="urn:core_2013_1.platform.webservices.netsuite.com" isSuccess="false"> <platformCore:statusDetail type="ERROR"> <platformCore:code>INSUFFICIENT_PERMISSION</platformCore:code> <platformCore:message> You do not have permissions to set a value for element sendemail due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases. </platformCore:message> </platformCore:statusDetail> </platformCore:status> <baseRef xmlns:platformCore="urn:core_2013_1.platform.webservices.netsuite.com" xsi:type="platformCore:RecordRef" type="customer" internalId="012345"/> </writeResponse> </updateResponse> </soapenv:Body> </soapenv:Envelope>
Error Message:You do not have permissions to set a value for element sendemail due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.Does anyone have an idea what additional permissions might be required or if any of these fields have changed to read-only?This was working previously and our code hasn't changed since it worked so I'm wondering if NS changed something perhaps?Appreciate any helpful responses.Thanks!