Solved
getting this error while following the documentation on configuring klaviyo with magento2
Klaviyo is unable to connect to Magento Server for OAuth Handshake. Please ensure that both /oauth/token/request and /oauth/token/access are accessible.

Klaviyo is unable to connect to Magento Server for OAuth Handshake. Please ensure that both /oauth/token/request and /oauth/token/access are accessible.

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.