While using Axeptio, you may encounter some errors in your browser console. To comfort you, we have listed here the most common ones:
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 only load the SDK once.
To fix this issue, identify where the Axeptio SDK calls are coming from on your site, and keep only one method of loading it.
If you need help choosing the most appropriate integration method for your situation, please refer to this article.
Cannot read properties of undefined (reading: length)
If you get this error in your browser's console, it's because the fonts you declared in your widget's configuration have been misconfigured.
If you have chosen to load a font via Google Fonts, make sure that you have checked the box "Let Axeptio load the font" :
On the other hand, if you have chosen "Other", make sure that this box is unchecked:
🚧 Don't forget to republish to load your changes online !
REACT_APP_SC_ATT of undefined
This error can appear when there is a conflict between our SDK and another service.
To solve this error, you will have to add this line of code in your Axeptio script:
if(typeof process!=='undefined'){process.env={}};