Route network address is not valid

Please help with the problem of adding routes:

There were 3 routes

When trying to add

The error “Route network address is not valid” appears

This route is specified on the network equipment.

For the test I deleted the route

then tried to add it again, and the error “Route network address is not valid” appeared

At the same time tried to add the route and it worked without problems

I can’t reproduce this issue. The only error that should return that message is if the Python ipaddress library ipaddress.ip_network(network_address) returns an exception.