Invalid IDs throw error on register/unregister