I’ve been getting this recurring error in our logs for months now but cannot pinpoint where it is stemming from without access to the retool app source code.
ANALYTICS_TRACKING_ERROR
TypeError: Cannot read properties of undefined (reading 'sid') at ncm (/retool_backend/bundle/main.js:311:444096) at mn (/retool_backend/bundle/main.js:311:444485) at Qoe (/retool_backend/bundle/main.js:331:3528) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Timeout._onTimeout (/retool_backend/bundle/main.js:331:6336)
We’ve upgraded to self-hosted retool version 3.334-4.
I can’t find any mention of this error anywhere on the forums. Any help would be appreciated and if further information is required please let me know.
Thanks for reaching out, @samthing! From everything that I see, this is just a noisy error that doesn't actually communicate anything of import. You can ignore it! That said, it's definitely noisy and we should probably handle the error more gracefully. I'll file a ticket internally.
Thank you for the response! We have error monitoring setup and it is certainly making a lot of noise in our production logs. Is there an environment variable we can set that would suppress it?