- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Error A network was not found for this address with Infoblox-client
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2022 10:12 AM - edited 08-01-2022 10:13 AM
I am getting the above error when I search for an ipv4address that does not exist and there is no network for it. I do not see a way to catch this exact error
https://pd-grid.thrivent.com/wapi/v2.11.3/ipv4address?ip_address=10.0.146.4&_return_fields=network:
is my URL and I do not have a 10.0.146.0/24 network, which is why I get the error. Does anyone know of a way to catch the error?
Re: Error A network was not found for this address with Infoblox-client
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 06:00 AM
Where are you trying to catch the error?
Re: Error A network was not found for this address with Infoblox-client
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2022 04:25 AM
There are exceptions built into the infoblox-client.py but this one is not there. This is the code I run:
https://10.10.10.10/wapi/v2.11.3/ipv4address?ip_address=10.8.146.4
I do not have a 10.8.146.0 network so I get the error "{ "Error": "AdmConDataError: None (IBDataError: IB.Data:A network was not found for this address.)", \n "code": "Client.Ibap.Data", \n "text": "A network was not found for this address."\n}" and the only way I can make it so it does not show the user is if I change the log level to Error.