I am having issue in Klaviyo integration with Magento 2. I have added public and private keys as suggested in documentation but when I try to start the integration by clicking on activate button. It throws error with the consumer isn’t authorised to access the resource
Below is the screenshot of error I am on Magento 2.4.3. Please help to fix this issue.
Best answer by klaviyojadView original
Based on what I see from the screenshots there is a positive sign that Oauth handshake worked so now we need to determine why api calls did not.
The entry under Integrations in Magento 2 should show up as active. Could you click on Edit then scroll down to Integration Details and from the 4 values you see like below:
and try executing the curl command like below:
Does that return a 200 JSON response?
If not then attempt it like below:
If this works but the first call didn’t it means you need to add ReWrite Rules to your server like below:
Hope this helps.