The error “An error occured while trying to generate the Sitemap” can be experienced when generating a Sitemap for the SuiteCommerce Advanced webstore for several factors.
One reason that was noted for this error is that when developers create a custom module using a Suitelet. To avoid this error, users need to use the External URL for Suitelet link .
Suitelet’s deployment should be enabled for Available without Login. The following two fields will be available for the links.
- URL
- EXTERNAL URL
A sample External URL should look like:
Example: https://forms.<data center (i.e. na1)>.netsuite.com/app/site/hosting/scriptlet.nl?script=314&deploy=2&compid=XXXXXXXXXXXX&h=YYYYYYYYYYYYYYYY