Are you trying to run the MyAPI on sandbox or production? The error suggests that you try to create an export in Sandbox but the _ConnectionId points to the one created in non sandbox environment. Could you try to use the id of a connection created in the sandbox?
Thanks for the quick response. Indeed that was the issue (I created the MyAPI in sandbox but it shows in production as well, hence this confusion) . Beside, do you have any example of exports.runVirtualWithPaging? I cannot find any example in help center. I get an error paged export is not supported for this export configuration.
Pagination is not currently supported for exports.runVirtualWithPaging. That enhancement is in our backlog for future development. Would you be able to share your use case/needs/problems that you plan to solve ?
Hi @netsuite01, the proposed enhancement is planned for our upcoming release v8.2.1.0, Feb. 2022. exports.runVirtualWithPaging() will support NetSuite restlet exports that needs pagination.