Viewing .json file says 'Cannot get /data.json'

Viewing a .json file says ‘Cannot get /data.json’ Json File Link

No file exists at that location so it can’t be served. Either create file with that file name in your public folder, or create a separate route for it if the file exists elsewhere.