Getting a 502 (lambda timeout) with basic form ajax submit

Have you checked: [Support Guide] Why is my function taking long or timing out?