All error codes

interface_ips_not_allowed

HTTP 422 Public addresses cannot be set on a private interface

What happened

You sent ips for an interface that is private, or that this request would make private. Public addresses only exist on a public interface.

What to do

Drop ips from the body for a private interface. To keep the addresses attached, the interface must be public: send public true, and do not send network_id in the same request.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/interface_ips_not_allowed",
    "title": "Public addresses cannot be set on a private interface",
    "status": 422,
    "code": "interface_ips_not_allowed",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.