Skip to main content
Question

KlaviyoCustomerData.js showing 404

  • December 19, 2025
  • 1 reply
  • 9 views

Forum|alt.badge.img

Hello,

I have installed Klaviyo in my Magento account successfully and have integrated, as well. Followed all the steps from this link https://help.klaviyo.com/hc/en-us/articles/115005254348.

At first, I installed it on our staging and did some tests, which then I proceed to live integration. Before I did that, I disabled staging to make sure it won’t get conflict. Then installed it on live smoothly where I can see it from here https://www.klaviyo.com/integrations.

After a few days, I just saw it on the notifications saying “Klaviyo is no longer authorized to connect to Magento 2”. The frontend is showing an error below.

Looking at the DevTools > Network Tab > Filter by “KlaviyoCustomerData”. File is showing 404 not found.

Debugging

 

First attempt:

Have to do a Hard clean static files

rm -rf pub/static/frontend
rm -rf pub/static/_requirejs
rm -rf var/view_preprocessed

Then deploy

bin/magento setup:static-content:deploy -f

php bin/magento cache:clean
php bin/magento cache:flush

 

Still showing error on the frontend

Second attempt:

  • Disabled the module
  • Run the command bin/magento setup:di:compile and bin/magento setup:static-content:deploy -f and cache command
  • Remove Klaviyo from the composer composer remove klaviyo/magento2-extension
  • Install again from the composer composer require klaviyo/magento2-extension:4.4
  • Enabled the module bin/magento module:enable Klaviyo_Reclaim --clear-static-content
  • Run the command bin/magento setup:di:compile and bin/magento setup:static-content:deploy -f and cache command
  • Enabled from the admin and authorise Magento to Klaviyo
  • Still showing error on the frontend even in Incognito

Magento Version: 2.4.8-p3

Need advice on what needs to be done and appreciate all the help. Thanks!

1 reply

whereisjad
Expert Problem Solver IV
Forum|alt.badge.img+16
  • Expert Problem Solver IV
  • December 19, 2025

@rodelgcuk have you opened a Klaviyo Support ticket?  Is the Magento2 connection perpetually disabled or was this just a temporary blip?  Sometimes if the Magento2 is inaccessible, Klaviyo throws this error message as trying to connect to it.  Key is to see if the main events like Started Checkout and Placed order are still current in your Klaviyo system.