Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/mattmiller/Documents/playground/env/lib/python3.10/site-packages/pynautobot/core/endpoint.py", line 109, in all
return response_loader(req.get(), self.return_obj, self)
File "/Users/mattmiller/Documents/playground/env/lib/python3.10/site-packages/pynautobot/core/query.py", line 326, in get
return req_all()
File "/Users/mattmiller/Documents/playground/env/lib/python3.10/site-packages/pynautobot/core/query.py", line 284, in req_all
req = self._make_call(add_params=add_params)
File "/Users/mattmiller/Documents/playground/env/lib/python3.10/site-packages/pynautobot/core/query.py", line 257, in _make_call
raise RequestError(req)
pynautobot.core.query.RequestError: The requested url: http://localhost:8080/api/plugins/data-validation-engine/rules/ could not be found.
Re-producable using:
Local Environment
Nautobot Environment
Example
In Nautobot, Create a Regex Rule:
In Pynautobot, update the regex rule to
Enabled: True
at this point we see endpoint.url = 'http://localhost:8080/api/plugins/data-validation-engine/rules/regex'
at this point we see rgs[0].endpoint.url = 'http://localhost:8080/api/plugins/data-validation-engine/rules'
error:
Links to code
"rules/regex"