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.
Error: Parameter "key" is required
at new _ (C:\US-visa-appointment-notifier-main\node_modules\mailgun.js\mailgun.node.js:2:32862)
at e.client (C:\US-visa-appointment-notifier-main\node_modules\mailgun.js\mailgun.node.js:2:58416)
at Object. (C:\US-visa-appointment-notifier-main\utils.js:6:20)
at Module._compile (node:internal/modules/cjs/loader:1226:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
at Module.load (node:internal/modules/cjs/loader:1089:32)
at Module._load (node:internal/modules/cjs/loader:930:12)
at Module.require (node:internal/modules/cjs/loader:1113:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (C:\US-visa-appointment-notifier-main\index.js:4:37)
Error: Parameter "key" is required at new _ (C:\US-visa-appointment-notifier-main\node_modules\mailgun.js\mailgun.node.js:2:32862) at e.client (C:\US-visa-appointment-notifier-main\node_modules\mailgun.js\mailgun.node.js:2:58416) at Object. (C:\US-visa-appointment-notifier-main\utils.js:6:20)
at Module._compile (node:internal/modules/cjs/loader:1226:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1280:10)
at Module.load (node:internal/modules/cjs/loader:1089:32)
at Module._load (node:internal/modules/cjs/loader:930:12)
at Module.require (node:internal/modules/cjs/loader:1113:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (C:\US-visa-appointment-notifier-main\index.js:4:37)
Appreciate if anyone can assist on priority pls.