Version: All
Audience: Administrator

Use Case
  • Finding the root cause of errors in PromoStandards responses.
  • Viewing the NetSuite error associated with the PromoStandards response error.
Overview
The error messages displayed in PromoStandards responses are formatted according to PromoStandards' specifications. However, it can be challenging to determine the cause of an error solely based on the PromoStandards' error response. Errors can result from configuration changes in eXtendPS-SE, data issues, NetSuite issues, or other reasons. To gain a better understanding of these errors, eXtendPS-SE script logs will provide the complete error information for the PromoStandards error response.

Viewing Script Logs
  1. Go to Customization  Scripting  Scripts  eXtendPS-SE Restlet.Image Placeholder

  2.  If there are many results in execution logs, you can clear them all by clicking the Remove All button.

  3. After removing the existing logs, execute the PromoStandards request which is generating an error. This will generate new script logs entries.

  4. Change the Type filter to "Error" and review the errors for your associated PromoStandards request.
Note:
In some cases, the script logs may quickly fill up due to concurrent requests made by others initiating PromoStandards requests. This can make it difficult to find your particular requests. The steps below can help you work around this issue:

  1. Find or create an additional script deployment for the eXtendPS-SE Restlet script.

  2. If there is an existing additional deployment already present which does not have the deployment id customdeploy_extend_promo_api_rest you can use it instead of creating a new one. Otherwise, create a new script deployment.

  3. Add the internal id for your script deployment to the endpoint of the PromoStandards service which you are using in following format: ?deploy=internalIdOfDeployment

  4. Run your PromoStandards request against the updated endpoint.

  5. Script logs will be generated against your separate script deployment.