101 Switching Protocols

The server switches protocol, e.g. to WebSocket.

Status code
101
Reason phrase
Switching Protocols
Class
1xx Informational

What does 101 Switching Protocols mean?

The server agrees to switch to the protocol the client asked for in the Upgrade header — most often from HTTP to WebSocket.

Common causes

How to fix it

101 and webhooks

Not used by webhooks.

FAQ

What does HTTP 101 mean?

The server switches protocol, e.g. to WebSocket. The server agrees to switch to the protocol the client asked for in the Upgrade header — most often from HTTP to WebSocket.

Is 101 an error?

No — it is informational.

Other 1xx codes

100 Continue · 103 Early Hints

← 100   All status codes   103 →

About HTTP 101

101 Switching Protocols is part of the 1xx class: informational responses that say the request is still being processed.

You rarely handle 101 yourself — HTTP libraries process it before your code sees the final status.

In monitoring, alert on the rate of 101 responses rather than single events, and split by endpoint to find the source.