# \<lottie-player\> src path doesn't work on local

**URL:** <https://forum.lottiefiles.com/t/lottie-player-src-path-doesnt-work-on-local/533>\
**Category:** Lottie in Web\
**Created:** [February 2, 2021, 1:51pm UTC](https://forum.lottiefiles.com/t/lottie-player-src-path-doesnt-work-on-local/533 "2021-02-02T13:51:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lauriane](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/lauriane/32/224_2.png) [@lauriane](https://forum.lottiefiles.com/u/lauriane)\
**Post date:** [February 2, 2021, 1:51pm UTC](https://forum.lottiefiles.com/t/lottie-player-src-path-doesnt-work-on-local/533/1 "2021-02-02T13:51:30Z")

</div>

Hi there !  
When I put the lottie-player inside my VueJs code and the animation is from the lottiefiles’ website : it’s working fine. But if my animation.json is inside my code, I get this error in the console :

Uncaught DOMException: Failed to read the ‘responseText’ property from ‘XMLHttpRequest’: The value is only accessible if the object’s ‘responseType’ is ‘’ or ‘text’ (was ‘json’).

Can’t figure out why. Does someone has the solution ?

---

<div class="post-metadata">

**Author:** ![atul.kumar](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.lottiefiles.com/atul.kumar/32/1524_2.png) [@atul.kumar](https://forum.lottiefiles.com/u/atul.kumar)\
**Post date:** [January 31, 2022, 1:04pm UTC](https://forum.lottiefiles.com/t/lottie-player-src-path-doesnt-work-on-local/533/2 "2022-01-31T13:04:55Z")

</div>

have you found the solution?
