You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating A-Record for my-domain.net with content: 1.2.3.4, Status: SUCCESS
A-Record of my-domain.net is up to date!
Creating AAAA-Record for my-domain.net with content: 0000:0000:0000:0000:0000:0000:0000:1234, Status: SUCCESS
Traceback (most recent call last):
File "/Users/nils/Developer/porkbun-dynamic-dns-python/local_test.py", line 26, in<module>porkbun_ddns.update_records()
File "/Users/nils/Developer/porkbun-dynamic-dns-python/porkbun_ddns/porkbun_ddns.py", line 144, in update_records
self._create_records(ip, record_type)
File "/Users/nils/Developer/porkbun-dynamic-dns-python/porkbun_ddns/porkbun_ddns.py", line 170, in _create_records
status = self._api("/dns/create/" + self.domain, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/nils/Developer/porkbun-dynamic-dns-python/porkbun_ddns/porkbun_ddns.py", line 106, in _api
response = urllib.request.urlopen(req).read()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.11/3.11.4_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400:
The text was updated successfully, but these errors were encountered:
Code snippet to reproduce the failure:
Output:
The text was updated successfully, but these errors were encountered: