What "type" means here
Every proxy entry in a Clash-style configuration begins with a type that selects a protocol implementation inside the core. The core does not guess from the port or from the presence of other fields — the type string is the dispatch key. If it is not one the binary was compiled with, the entry cannot be constructed and the whole configuration is rejected.
The failure is therefore total rather than partial: one unknown type stops the entire profile from loading, so every node appears broken even though only one entry is wrong. That is why the symptom is often reported as "all my nodes stopped working" after a subscription update added a single new protocol.
Type names the mihomo family implements
The core behind Clash Verge Rev and most current forks implements a specific set. The list grows between releases, so a type that worked last year can be present or absent depending on the binary:
| Family | Type strings |
|---|---|
| Shadowsocks | ss, ssr |
| VMess / VLESS | vmess, vless |
| Trojan family | trojan |
| QUIC-based | hysteria, hysteria2, tuic |
| Tunnel | wireguard, ssh, mieru, anytls |
| Proxy wrappers | socks5, http, snell |
| Meta-only | direct, dns, reject as outbound types |
Two patterns account for most reports. First, an entry uses a type that belongs to a different ecosystem entirely — a subscription generated for a client with its own extensions can carry a type string the Clash family never defined. Second, an entry uses a type that existed in an older or a specialised build and was renamed or removed, and the profile was written against the old name.
Locate the offending entry
The error names the proxy, which is more useful than the type string, because a profile with forty nodes and one bad entry needs a pointer rather than a grep for the type across the whole file.
grep -n "name: <the-name-from-the-error>" config.yaml
Then read the entry. Three things are worth checking in order:
- Is the type a string the core knows? Compare against the table above and against the core's own documentation for the version you are running. A near-miss —
hysteria3forhysteria2, or a trailing space — is still unknown. - Is the type nested where the core expects it? An entry under
proxiesmust be a proxy. A provider definition placed there produces an unknown-type error because its shape does not match any proxy schema. - Did the entry arrive from a provider rather than from your profile? If the name does not appear in your file, it came from a downloaded provider and the fix belongs in the provider filter, not in your profile.
Three fixes, only one of which is usually right
Update the core
When the type is a legitimate protocol that the current binary predates, a newer core is the correct fix. This is common right after a protocol gains popularity: subscriptions start carrying it before the installed core knows it. Check the error against the release notes rather than assuming, because updating also changes rule and DNS behaviour and that can introduce a different problem.
Filter the entry out
When the type belongs to another ecosystem and will never be implemented, excluding it is right. Provider definitions accept a filter expression, and a profile you maintain yourself can simply drop the entry. The trade-off is that a filtered node is a node you cannot use, so filter by type only when the node is genuinely unusable in this core.
Correct the type string
Only when you know the entry describes a protocol the core supports and the string is wrong. This is the case for hand-written profiles and for generators that emit a deprecated name. Do not guess a replacement — a wrong type that happens to be valid produces a node that connects to nothing, which is harder to diagnose than a parse error.
What not to conclude
An unknown type is not a subscription problem and not a network problem. The core never opened a socket. Reports that pair this message with "the provider is down" describe two separate events: the provider may well also be down, but the parse error came first and prevented any test.
It is also not fixed by deleting the profile and re-importing. The same subscription will produce the same entry. The only re-import that helps is one against a different subscription, or a filtered one.
Frequently asked
Does one bad entry really break every node?
Yes. Configuration parsing is all-or-nothing: a proxy that cannot be constructed fails the load, so the profile never becomes active. That is why the symptom reads as 'everything stopped' rather than 'one node is broken'.
Why did this appear after a subscription update?
The provider added a node using a protocol your core does not implement. The profile was valid before because that entry did not exist. Compare the update time with the error appearance and look for a new type in the newest entries.
Can I use two cores to cover more types?
Not as one profile. A configuration is parsed by one binary, so types outside that binary are unavailable regardless of what else is installed. Running a second client on another port is possible, but both will try to install a system proxy and only one capture path can win.
Is a type error the same as an unsupported protocol on the server?
No. This error happens at parse time, before any connection. A server rejecting a protocol produces a runtime error with a dial or handshake failure, which names a host rather than a configuration key.
How do I know which types my build supports?
Check the release notes for the core version you have, and compare against the providers list in its documentation. Guessing from a newer version's documentation is a common cause of trying a type the installed binary does not have.