While running the code I’m getting below error:
making request to Mailgun to send an email Traceback (most recent call last):
response_text = json. loads (response. text) File “/usr/lib/python3.5/json/init_.py”, line 319, in loads return _default_decoder.decode(s)
File “/usr/lib/python3.5/json/decoder.py”, line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.5/json/decoder.py”, line 357, in raw_decode raise JSONDecodeError(“Expecting value”, s, err.value) from None json.decoder JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “temp_email.py”, line 25, in except execution as e: NameError: name ‘execution’ is not defined suriyasam@ubuntu: "$