-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index out of range bug for PATCH requests to cables API #11901
Comments
Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports. |
Hiya - updated with more information. Let me know if that's sufficient. |
I'm running into the same issue. |
#13337 looks like it fixes this as well. |
Confirmed fixed by #13337 |
NetBox version
v3.4.5
Python version
3.8
Steps to Reproduce
Hi Everyone,
Found an issue sending PATCH/PUT API requests to /cables/{id}/
Any request body that requests a change in the cable termination throws an index out of range error.
Steps to reproduce:
Below shows the full HTTP request:
See attached file for the backtrace, with some stuff removed for security:
Internal Server Error netboxapidcim.txt
Not sure much else I can provide - let me know :)
TIA
Expected Behavior
HTTP response 200 with an updates connection with termination changes.
Observed Behavior
HTTP response 500 with an index out of range error with no changes to the cable.
Further, shows the following HTML file:
error.txt
The text was updated successfully, but these errors were encountered: