Version: All
Audience: Administrator
Use Case
This guide will help you:
- Find the root cause of errors in
PromoStandards responses.
- View the NetSuite error associated with a
PromoStandards response error.
Overview
PromoStandards responses include
error messages that follow specific response
rules. However, these messages don't always
communicate the underlying cause of the error.
Problems can arise from various sources,
including:
- Configuration changes in eXtendPS-SE
- Data issues
- NetSuite-related problems
- Other technical factors
To get a clearer picture of these
errors, we'll use the eXtendPS-SE script logs.
These logs provide detailed error information
for PromoStandards error responses.
How to View Script Logs
- Navigate to Customization → Scripting → Scripts → eXtendPS-SE Restlet.
- Clear existing logs by clicking the Remove
All button (if
needed).
- Run the PromoStandards request that's
generating the error. This creates new
script log entries.
- Set the Type filter to "Error" and examine the errors
related to your PromoStandards
request.
Tip for Busy Environments
If many users are making
PromoStandards requests, it might be hard to
find your specific error. Here's a
workaround:
- Locate or set up an additional script
deployment for the eXtendPS-SE
Restlet script.
- Use an existing deployment if available
(as long as its ID is not customdeploy_extend_promo_api_rest).
Otherwise, create a new one.
- Add your script deployment's deployment ID
to the PromoStandards service endpoint
like this: ?deployId=deploymentId
- Example: https://yoursubdomain.suitextend.net/v1/promo-supplier/promoproductdata/v200/productdataservice?deployId=2
deployId
is case sensitive. - Run your PromoStandards request using this
modified endpoint.
- Check the script logs for your specific
deployment to find your error
information.