InfobloxConnectionError Hides reason for failed query
Opened this issue · 1 comments
scetron commented
The InfobloxConnectionError returned when searching for IPv4Address objects (that don't exist) hides the error response from Infoblox that the network does not exist and gives an invalid URL instead.
{'reason': HTTPError('400 Client Error: Bad Request for url: https://infoblox/wapi/v2.12/ipv4address?network=10.0.0.0%2F18&status=USED&_proxy_search=GM')}
The error should be more descriptive at the very least. I would argue that the error is wrong as technically the URL is correct.
sarya-infoblox commented
Hi @scetron, Thanks for bringing up this issue, we will take try and fix it in our next release.