# Lottie plays but throws console errors

**URL:** <https://forum.lottiefiles.com/t/lottie-plays-but-throws-console-errors/521>\
**Category:** Lottie in Web\
**Created:** [January 31, 2021, 8:55am UTC](https://forum.lottiefiles.com/t/lottie-plays-but-throws-console-errors/521 "2021-01-31T08:55:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lehmanad](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/lehmanad/32/403_2.png) [@lehmanad](https://forum.lottiefiles.com/u/lehmanad)\
**Post date:** [January 31, 2021, 8:55am UTC](https://forum.lottiefiles.com/t/lottie-plays-but-throws-console-errors/521/1 "2021-01-31T08:55:56Z")

</div>

I’m using Lotties on a client website, and while they play just fine, I get console 404 errors for “[https://unpkg.com/lottie-player.js.map](https://unpkg.com/lottie-player.js.map)” and  
NotSupportedError: Cannot define multiple custom elements with the same tag name  
(anonymous function) — lottie-player.js:1:1014  
Global Code — lottie-player.js:1:1024

Can someone tell me what is up?

TIA,

Scott

---

<div class="post-metadata">

**Author:** ![karam](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/karam/32/256_2.png) [@karam](https://forum.lottiefiles.com/u/karam)\
**Post date:** [February 1, 2021, 6:23am UTC](https://forum.lottiefiles.com/t/lottie-plays-but-throws-console-errors/521/2 "2021-02-01T06:23:04Z")

</div>

Hi there,  
which environment is your clients website? is it a wordpress site or reactJS or?

---

<div class="post-metadata">

**Author:** ![karam](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/karam/32/256_2.png) [@karam](https://forum.lottiefiles.com/u/karam)\
**Post date:** [February 1, 2021, 6:24am UTC](https://forum.lottiefiles.com/t/lottie-plays-but-throws-console-errors/521/3 "2021-02-01T06:24:25Z")

</div>

Tested out with multiple animations on a vanilla JS website and looks to be okay

---

<div class="post-metadata">

**Author:** ![lehmanad](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/lehmanad/32/403_2.png) [@lehmanad](https://forum.lottiefiles.com/u/lehmanad)\
**Post date:** [February 1, 2021, 6:53am UTC](https://forum.lottiefiles.com/t/lottie-plays-but-throws-console-errors/521/4 "2021-02-01T06:53:48Z")

</div>

Hi Karam,

Thanks for your response.

> which environment is your clients website? is it a wordpress site or reactJS or?

Neither wordpress nor reactJS.

I was able to solve the "Cannot define multiple custom elements with the same tag name” problem (I had entered the script in two different places!), but I am still getting a 404 error for “[https://unpkg.com/lottie-player.js.map](https://unpkg.com/lottie-player.js.map)”

Everything works OK, though.

You can view the website here: [yoshidaj.jp](http://yoshidaj.jp/)

Scott
