While using Axeptio, you may encounter some errors in your browser console. To comfort you, we have listed here the most common ones:
"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={}};