Getting 502: Bad Gateway errors when integrating Klaviyo

I wouldn’t expect a 502 to be the result of any security features blocking a request - it indicates that your origin returned a Bad Gateway response.

Have you had a look at this? Community Tip - Fixing Error 502 / 504: Bad Gateway