Mak Moinee

Results 5 comments of Mak Moinee

Hi, @dcjayasuriya2020 i don't see any syntax error with that. I think double check with how you called the function handlers._users.post and also make sure that payload is being supplied...

Are you having this error during running ? or during triggering it via postman?

try replace the handlers._users.post function to this ` handlers._users.post = (data, callback) => { // Check that all required fields are filled out let firstName = typeof (data.payload.firstName) === 'string'...

Hi @dcjayasuriya2020 I now know why you're getting that error: in your code : `var chosenHandler = typeof(router[trimmedPath]) !== 'undefined' ? router[trimmedPath]: handlers.notfound; //Construct the data object to send to...

@dcjayasuriya2020 This is the usual array object. When referencing to a key that its not within the object's key then you will end up having those errors. It means that...