THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

Error A network was not found for this address with Infoblox-client

[ Edited ]
Techie
Posts: 12
1450     0

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

Superuser
Posts: 38
1450     0

Where are you trying to catch the error?

Shukran

Re: Error A network was not found for this address with Infoblox-client

Techie
Posts: 12
1450     0

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. 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You