question

Yogendra avatar image
Yogendra asked

Geting error Object Object

HI There, I have written Node JS code to check prime number but its not working in lamda while same code working fine in Node js console as expected. I am getting error object object. please help me on this.
alexa skills kitsubmission testing certification
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Nick Gardner avatar image
Nick Gardner answered
Hi, Can you share the code snippet that is referencing object Object? I've usually seen that error when people are trying to assign or print a part of JSON which is not actually a value, but an object, so it's toString method will be "[object Object]". Thanks, Nick
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.