dustincoates / alexa-bus-schedule

An Amazon Echo Skill that gets the distance away from a given stop for a New York City bus.
33 stars 23 forks source link

.ZIP file #1

Closed kirangavini closed 7 years ago

kirangavini commented 7 years ago

Do i have to upload whole src folder as a zip or just index.js?

dustincoates commented 7 years ago

@kirangavini If you pull in any external files or packages you must upload it as a zip. If it's all self-contained in index.js, you just need that.

dustincoates commented 7 years ago

@kirangavini To answer your question: anything that needs to be required needs to be included. Can you share the error message?

kirangavini commented 7 years ago

Thanks for you response :) screen shot 2017-01-21 at 6 43 18 pm screen shot 2017-01-21 at 6 42 30 pm screen shot 2017-01-21 at 6 42 45 pm

kirangavini commented 7 years ago

I used the same intent schema, since i used appid and MTA key manually, i didnt use process command or a zip of it while uploading. I tried using that as well, but it is showing same response.

dustincoates commented 7 years ago

It's impossible to know what's going on there--this will only tell you if it's successful or not. To get at the real error, you'll want to dig into the CloudWatch logs from Lambda itself.