All error codes

vpn_device_not_found

HTTP 404 VPN device not found

What happened

No device with this identifier exists on this tunnel. It was never created or has been deleted - a repeated DELETE lands here too.

What to do

List the devices and use an identifier from the list. If you were deleting, the device is already gone.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/vpn_device_not_found",
    "title": "VPN device not found",
    "status": 404,
    "code": "vpn_device_not_found",
    "request_id": "a277dcd1ca652c65"
}

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