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 properly, 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 calling method.
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 means the fonts you declared in your widget configuration were misconfigured.
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 in case of 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={}};