theoomoregbee / US-visa-appointment-notifier

This is just a script I put together to check and notify me via email (MailGun) when there's an earlier date before my initial appointment date. It doesn't handle rescheduling.
MIT License
104 stars 57 forks source link

Failed to parse dates, probably because you are not logged in #35

Closed samcookies closed 1 year ago

samcookies commented 1 year ago

hi there, Im getting the below error, do i need to login somewhere before i run this script, there are my cred saved in the .env.

**> us-visa-appointment-notifier@1.0.0 start

node index.js

=====>>> Step: starting process with 20 tries left =====>>> Step: logging in =====>>> Step: checking for schedules {"message":"Facility is not valid","error":"bad_request"} Unable to parse page JSON content

{"message":"Facility is not valid","error":"badrequest"}
Failed to parse dates, probably because you are not logged in Terminate batch job (Y/N)? y**_

theoomoregbee commented 1 year ago

The script will automatically log you in as long as your credentials are in the .env file.