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
{{ message }}
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
Traceback (most recent call last):
File "./import.py", line 121, in <module>
for device in get_devices(manager):
File "./import.py", line 88, in get_devices
data = manager.call_api(page)
File "/nix/store/fn8qkd9vnr2p65707r6lwvpk9l3z29h5-python3-3.7.3-env/lib/python3.7/site-packages/packet/Manager.py", line 19, in call_api
return super(Manager, self).call_api(method, type, params)
File "/nix/store/fn8qkd9vnr2p65707r6lwvpk9l3z29h5-python3-3.7.3-env/lib/python3.7/site-packages/packet/baseapi.py", line 79, in call_api
elif 'errors' in data:
TypeError: a bytes-like object is required, not 'str'
Turns out the API is replying with (in Python notation) b'Forbidden\n'.