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 trialTom Petryshen
832 PointsThe remote endpoint could not be called, or the response it returned was invalid. How do I fix this?
When I try to use the service simulator I get an error in the Lambda Response saying "The remote endpoint could not be called, or the response it returned was invalid." I changed some of the lines of code in the json files but didn't mess with the 'index.js' file. What do I do to fix this?
Nyle Cohen
448 PointsI am having the same problem. If I attempt to test it will come with this error message. This happens when I am using a .Zip or editing the code inline
Steven Parker
231,271 PointsNyle Cohen — Try starting a new question and be sure to show your code in it.
Aravind T
1,203 PointsAfter setup but before publish, i could test skill on 'Service Simulator' but not on echosim.io. does anyone know why?
2 Answers
durul
62,690 Pointswhen you are in the directory containing your index.js, node_modules, etc. files. run this command below.
zip -r ../yourfilename.zip *
Liam Burns
1,190 PointsI had this issue and found the answer to my problems here in the questions on a video a just ahead in the course.
Steven Parker
231,271 PointsSteven Parker
231,271 PointsHi, I got your request.
But I have not seen this error myself. Perhaps if you post the code here (please be sure to format it using Markdown), someone might be able to spot the issue.