development mode skill gets 403 response from node sdkv2 getlistsmetadata() /

Published at 2018-10-02 20:49:14

Home / Categories / Nodejs / development mode skill gets 403 response from node sdkv2 getlistsmetadata()
The error seems to propose a list permission problem
but I'
m not seeing how to affect permissions for a
development mode skill. The test code is included in
an async launch request handler: try { const lm = handlerInput.serviceClientFactory.getListManagementServiceClient(); const listMetadata = await lm.getListsMetadata(); console.log('listMeta: %s',JSON.stringify(listMetadata)); } catch(err) {
console.log('No permission');
} It fails whether running in Alexa app, in console test tab, or in a local
debug environment. I found out the 403 response from running in the debug
setup.

Source: amazon.com

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0