How can I use json file locally

I downloaded the .json file and put it on locally where my web page is instead of it being located on the lottiefiles site (assets5.lottiefiles.com) but it doesn’t work. Is there a way to have the .json locally?

Thanks,
~peter

hi, i am getting the same issue, did you find the solution

Hello @Mahizha

Could you please provide more details about your implementation?It would be helpful to know:

  1. Which Lottie player you are using.
  2. Any error messages you are encountering.
  3. A sample of the Lottie animation you are trying to use.

This information will help us understand the issue better and provide more accurate assistance.

Ensure the JSON file path is correctly referenced in your web page. Verify that the file is accessible and properly linked. Also, check if your web server permits access to local files and ensure there are no permission issues. Additionally, confirm that the file’s format and contents are correct for your Lottie animation.