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

Error: Parameter "key" is required #24

Closed skyloud22 closed 1 year ago

skyloud22 commented 1 year ago

There is no api that starts with key--xxxx

the one i could find under the sandbox domain does not seem to work.

Can you please help to identify which api key to use?

dezluan commented 1 year ago

@skyloud22 I had the same issue happen to me, but it was just my fault.

  1. Make sure your env file is correctly named, i.e. ".env" (it should have the extension of .env)
  2. The key you use is the one under your mailgun dashboard > API Keys > Private Key (it doesn't necessarily have a key- prefix)