401
SIP

401 Unauthorized

The request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.

On this page

When You See This Code

When making a request that requires Digest authentication. Common for REGISTER and INVITE requests to authenticated SIP trunks.

How to Fix

Resend the request with proper Authorization header containing valid credentials (Digest authentication).

Cross-Protocol Equivalents

Comparisons

Compare With

Guides

Specifications

Glossary

Frequently Asked Questions

What is SIP 401 Unauthorized?

The request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.

When do you see SIP 401 Unauthorized?

When making a request that requires Digest authentication. Common for REGISTER and INVITE requests to authenticated SIP trunks.

How to fix SIP 401 Unauthorized?

Resend the request with proper Authorization header containing valid credentials (Digest authentication).