VaccineAvailabilityNotifier icon indicating copy to clipboard operation
VaccineAvailabilityNotifier copied to clipboard

Getting error as below

Open atishnilakhe opened this issue 3 years ago • 5 comments

I have been trying to use the tool but not luck yet.

Let me know if I am missing any steps.

image

Note that I did try googling for this error but none of the blog helped to solve it.

atishnilakhe avatar May 05 '21 15:05 atishnilakhe

You are not alone mate!!

sid8840 avatar May 05 '21 16:05 sid8840

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 :

image

Not sure why the watching parameter value is showing it as disabled. Should it be enabled? How to change it?

atishnilakhe avatar May 05 '21 18:05 atishnilakhe

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' }

TitusRobyK avatar May 06 '21 17:05 TitusRobyK

once setup simply run node vaccinenotifier.js

aimlandweb avatar May 07 '21 15:05 aimlandweb

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.

image

Can You explain me what is slots.data.sessions..

pranshukas avatar May 14 '21 19:05 pranshukas