pynetbox device creation issues #18502
Replies: 1 comment
-
Not completely sure why but changing it to this made it work:
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all, just getting started with pynetbox and having some issues creating devices with it. I am trying to create them from a csv file. I have the following as my code, and despite it being about the same as any other example online, it isnt creating anything. Ultimately I intend to use this to create objects from csv dumps, hence the csv inclusions in the code.
When this is run, it doesn't return a result, nor does it print an error.
What I have checked:
network connectivity is confirmed
write is enabled on the api token
I can query netbox just fine and return all expected objects
I do notice that when I attempt to create a device, I can go to netbox and see that the api key usage time updates to the time of my attempt, not sure if this would be indicative of anything important.
I have also stripped this down to the following, also without success:
Environment:
Netbox: 4.1.3
Python: 3.12.3
pynetbox: 7.4.1
Beta Was this translation helpful? Give feedback.
All reactions