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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Invalid Record Reference When Record is Valid
I'm using the PHPToolkit to submit a new custom record entry and I'm getting the following error:
Invalid custrecord_fieldname reference key 12345
The error code is: INVALID_KEY_OR_REF
However, this does not occur with all records! Only with a select few (one so far). The strange part is if I look at the record via the web admin:
https://system.sandbox.netsuite.com/app/common/entity/contact.nl?id=12345
The record (a contact) comes up fine. I don't notice any different between the contacts except for one is associated with a company and one isn't. Any ideas?
Thanks
0