04-22-2019 02:51 PM
Hello,
I’m getting the following error for the following snaps:
Any help anyone can give me would be greatly appreciated, thank you
04-22-2019 07:13 PM
Hi Kevin,
First, to clarify, note that you’re dealing with three instances of a single snap, NetSuite Search, configured with different Object types: Assembly Item, Item, and Location.
It looks like you’ve encountered a defect that’s been fixed in our forthcoming release (4.17). The root cause is that the NetSuite role that you’re using to execute the NetSuite snaps does not have all of the permissions necessary for the snap to retrieve the custom field metadata associated with the selected Object type, and the snap does not handle this condition gracefully.
The best way to avoid the error is to add the required permissions to the role in the NetSuite UI.
Edit the role, scroll to bottom, select the Permissions tab and the Setup subtab, and add any permissions related to custom fields, such as Custom Item Fields, Other Custom Fields, Custom Body Fields, Custom Column Fields, Custom Entity Fields. A permission Level of View is sufficient for each of these.
If possible, please try this in the UAT environment, where the first 4.17 release candidate is available for testing. The code in this version handles the permission issue more gracefully, and will provide some guidance about which required permissions are missing.
There’s also a partial fix for the defect in the “latest” version of the NetSuite snap pack in the production environment, netsuite6911. If you’re executing the pipeline in production, please use that version if possible. That version will lazy-load the custom field metadata, so may sidestep the issue if the snaps are not configured to use custom fields.
Please let me know if that helps.
04-23-2019 09:52 AM
Hi there,
Sorry for not being more clear on the snap I was using, I had forgotten I had relabeled them, but yes they are all NetSuite Search snaps.
The token permissions was exactly it, NetSuite recently updated and deprecated some default permissions so some reconfiguration was needed.
Thanks for your help!