When using Axeptio, you may encounter errors in your browser console. To help you out, we've listed the most common errors here:
Axeptio SDK is already loaded
You are trying to load the SDK multiple times, which may cause unexpected behavior and compliance issues. To ensure Axeptio works correctly, you must load the SDK only once.
To resolve the issue, identify where the Axeptio SDK calls are coming from on your site, and keep only one method of calling it.
If you need help choosing the most appropriate integration method for your situation, consult this article.
Cannot read properties of undefined (reading: length)
If you have this error, it's because the fonts you declared in your widget configuration were incorrectly configured.
If you chose to load a font via Google Fonts, verify that you have checked the "Let Axeptio load the font" checkbox:
Conversely, if you chose "Other", make sure this checkbox is unchecked:
🚧 Don't forget to republish your project to deploy your changes!
REACT_APP_SC_ATT of undefined
This error can appear if there is a conflict between our SDK and another service.
To resolve this error, you will need to add this line of code to your Axeptio script:
if(typeof process!=='undefined'){process.env={}};