Creat cable from script #16577
Unanswered
fironov70893
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I try to create cable using python script with pynetbox=7.3.3 module, but an error occurs:
nb.dcim.cables.create(a_terminations=[{'object_type':'dcim.interface', 'object_id':54587}],
b_terminations = [{'object_type':'circuits.circuittermination', 'object_id':9}])
pynetbox.core.query.RequestError: The request failed with code 500 Internal Server Error: {'error': 'CircuitTermination matching query does not exist.', 'exception': 'DoesNotExist', 'netbox_version': '3.7.2', 'python_version': '3.11.4'}
What i am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions