Importing fulfillment - error: "You must use getSublistText to return the value set with setSublistText."
Hello,
I'm encountering a strange, new error when trying to import an Item Fulfillment:
Failed to create, update/transform record because Invalid API usage. You must use getSublistText to return the value set with setSublistText.
I've disabled all scripts deployed against the Item Fulfillment to rule out script being an issue. The mapping is dead-simple:
I can't include an image because the site is saying I copied it from another site and is preventing the post from being submitted.
I've checked for a SuiteApp update but there isn't anything available. I've compared this Import with other flows in other accounts and there is nothing unusual, no differences that I'm spotting.
Has anyone seen this error?
BTW, I submitted a Celigo support ticket but seem to be getting AI auto generated responses with helpful gems like:
The error message "Invalid API usage" when importing a NetSuite Item Fulfillment suggests that there might be an issue with how the API is being called or the data being passed.
First, ensure that the API call is correctly formatted and that all required fields are being provided.
The suggestion to use getSublistText indicates that there might be a need to retrieve text values from a sublist, which could be causing the error if not handled properly.
Comments
Turns out this is a bug with the SuiteScript 2.0 SuiteApp. Re-creating the import with SS 1.0 works fine.
Thanks David Gollom for the suggestion!
Steve Klett Thank you for submitting the ticket. We are currently investigating the issue and will provide an update soon. In the meantime, if you have any captured nlapi logs for these two operations, could you please attach them to the ticket?
Hi Praveen Kumar Reddy Basani
I just checked and the clone of the flow that support created was able to produce the error. Were the nlapi logs obtained from that test or do you still want me to try to aquire them?
Hi Steve Klett ,
I checked with the team and we now have the logs that are needed. We will keep you posted on the status.
Thank you.
Please sign in to leave a comment.