HTTP 300 Multiple Choices vs 423 Locked
HTTP 300 (Multiple Choices) is a 3xx Redirection response, while 423 (Locked) is a 4xx Client Error response. 300 indicates that the request has more than one possible response. The client should choose one of them. In contrast, 423 means that the resource is locked and cannot be modified (WebDAV).
Description
The request has more than one possible response. The client should choose one of them.
When You See It
When a resource is available in multiple formats (e.g., different languages or media types).
How to Fix
Select the appropriate resource variant. Send an Accept header with your preferred content type.
Description
The resource is locked and cannot be modified (WebDAV).
When You See It
When trying to edit a file that another user has locked in WebDAV.
How to Fix
Wait for the lock to be released, or request the lock owner to unlock it.
Key Differences
300 is a 3xx Redirection response, while 423 is a 4xx Client Error response.
HTTP 300: The request has more than one possible response. The client should choose one of them.
HTTP 423: The resource is locked and cannot be modified (WebDAV).
You encounter 300 when when a resource is available in multiple formats (e.g., different languages or media types).
You encounter 423 when when trying to edit a file that another user has locked in WebDAV.
When to Use Which
For 300 (Multiple Choices): Select the appropriate resource variant. Send an Accept header with your preferred content type. For 423 (Locked): Wait for the lock to be released, or request the lock owner to unlock it.