unee-t / lambda2sqs

Relays SQL triggered payloads to MEFE via a queue
https://ap-southeast-1.console.aws.amazon.com/lambda/home?region=ap-southeast-1#/applications/lambda2sqs
GNU Affero General Public License v3.0
0 stars 4 forks source link

Create user notification sent twice #15

Closed franck-boullier closed 5 years ago

franck-boullier commented 5 years ago

The problem:

See that payload for an example of the issue

{"lastName": "test user", "creatorId": "E4RFHFCQGsXGPcCb5", "firstName": "Help", "actionType": "CREATE_USER", "phoneNumber": "", "emailAddress": "email.catcher+default.assignee.mgtCny@unee-t.com", "userCreationRequestId": 37}
kaihendry commented 5 years ago

Which environment?

kaihendry commented 5 years ago

I think I've debugged the problem: https://media.dev.unee-t.com/2019-04-25/duplicate-message.mp4

cc @nbiton you need to track internal server errors in Meteor. I don't know why it gave that response and then on retry "Duplicate message". Or perhaps return 200 instead of 400 as you currently do for duplicate message?