When developing and debugging Alexa skills locally using Bespoken Tools, the error occurs when connecting to Dynamo (using the Alexa Node.js SDK).
The error occurs within the Alexa SDK on the "get" call to Dynamo.
This error occurs because the region set in the ~/.aws/config
is not properly recognized by the Node.js SDK for AWS.
To work around this, just make an explicit call to configure the region, like so:
AWS.config.update({
region: "us-east-1"
});
Be sure to call this before processing any events with the alexa-sdk, i.e., before calling alexa.execute()
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With