Checking in AWS Lambda index.js there is the code snippet
------------------------------------------------------------------------------------------
function reportPurchasedProductsError(err) {
console.log(`Error calling InSkillProducts API: ${err}`);
return handlerInput.responseBuilder
.speak('Something went wrong in loading your purchase history')
.getResponse();
},-----------------------------------------------------------------------------------------
Having searched via Google all the developer documentation and read all the documentation at
https://developer.amazon.com/docs/in-skill-purchase/add-isps-to-a-skill.html
The error
Something went wrong in loading your purchase history
is not documented. There are no errors in AWS Lambda logs possibly because the error is spoken
The original example is at
https://github.com/alexa/skill-sample-nodejs-fact-in-skill-purchases
and deploys to Alexa console but Test tab in the Developer Portal. To start using your skill, just type : Test tab in the Developer Portal. To start using your skill, just type : Alexa, open premium facts sample.