Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

APIs Build an Alexa Skill Building an Alexa Skill Uploading an Alexa Skill to AWS Lambda

mark edgington
mark edgington
4,774 Points

Cannot change alexa code without error

in the definitions file, even changing Javascript to Javascript2 and recompressing (on a mac) causes the error 'The remote endpoint could not be called, or the response it returned was invalid' .

I have changed the quotation marks to be straight ones, so not sure why this would happen?

1 Answer

mark edgington
mark edgington
4,774 Points

:fixed it : While uploading .zip, do not compress the folder into .zip.

Instead, go into the folder, select *.json, index.js and node modules & then compress them and then upload the .zip.

Steven Parker
Steven Parker
231,184 Points

Congratulations. I would've had a hard time guessing that one!