VaccineAvailabilityNotifier
VaccineAvailabilityNotifier copied to clipboard
Getting error as below
I have been trying to use the tool but not luck yet.
Let me know if I am missing any steps.
Note that I did try googling for this error but none of the blog helped to solve it.
You are not alone mate!!
So I was able to get it installed and running on Windows platform instead of Linux however I am not getting emails. I have verified it for pin codes where vaccines are available for specified age by changing the values in .env file.
Not sure where could be the problem.
Here is the status of the program :
Not sure why the watching parameter value is showing it as disabled. Should it be enabled? How to change it?
You have to pass the below headers while invoking the API
let HEADERS = { "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", 'accept': 'application/json', 'Accept-Language': 'hi_IN' }
once setup simply run node vaccinenotifier.js
You have to pass the below headers while invoking the API
let HEADERS = { "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36", 'accept': 'application/json', 'Accept-Language': 'hi_IN' }
I tried including in the header but getting errors. It's showing cannot read property filer of undefined. I thought it may be due to no slots available but when I tried to use some other date in which slots were available then also it's showing the same. Also tried to console.log(sessions) but getting it undefined.
Can You explain me what is slots.data.sessions..