Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
REST WS: How to resolve error: INVALID_CONTENT on Customer Partners?
Hello,
We have an issue with a rest request that pertains to the partner, and are receiving an error, is there any insight on why this might be happening? Thanks.
Request without the partners field:
POST https://account_id.suitetalk.api.netsuite.com/services/rest/record/v1/customer
Content-Type: application/json
{
"companyName": "Floyd's Test",
"custentity_dd_special_customer_id": "NS5551212",
"email": "jfloyd@netsuite.com",
"phone": "5551212",
"terms": { "id": "2", "refName": "Net 30" }
}
response:
{
"type": "https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title": "Bad Request",
"status": 400,
"o:errorDetails": [
{
"detail": "Error while accessing a resource. You must enter at least one line for sublist: Partners.",