Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
REST API v1: "Invalid value for field 'item'" error when creating Assembly Build with lotnumberedass
Issue Summary
I'm encountering a persistent HTTP 400 error when attempting to create an Assembly Build via REST API v1 for a lotnumberedassemblyitem. The error message is:
"Invalid value for the resource or sub-resource field 'item'. Provide a valid value."
However, manual creation of the same Assembly Build through the NetSuite UI succeeds without any issues.
Environment
- NetSuite Account: Sandbox (XXXXXX_SB1)
- API: REST API v1
- Authentication: OAuth 1.0 (HMAC-SHA256)
- Item Type: lotnumberedassemblyitem
- Item ID: 1234 (masked for security)
- Component Item ID: 5678 (masked for security)
Request Details
Endpoint: POST /services/rest/record/v1/assemblybuild
Request Body (with all required fields based on documentation):
0