Skip to content
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

API ip-address post invalid address throws 500 error #2066

Closed
lampwins opened this issue Apr 27, 2018 · 0 comments
Closed

API ip-address post invalid address throws 500 error #2066

lampwins opened this issue Apr 27, 2018 · 0 comments
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@lampwins
Copy link
Contributor

Issue type

[ ] Feature request
[ x ] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.4
  • NetBox version: 2.3.3.

Description

When posting a new address to /ipam/ip-addresses/ providing an invalid address throws an HTTP 500 error. The API should return a better error in this case.

{ 
    "address": "123.456.789.111/32",
    "status": 1
}
@jeremystretch jeremystretch added type: bug A confirmed report of unexpected behavior in the application status: accepted This issue has been accepted for implementation labels May 22, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants