449 Retry With
Not quite right, try again! Like showing up to a party with the wrong password β the bouncer tells you what you're missing and gives you another shot. Come back with the right stuff!
Example HTTP Response
HTTP/1.1 449 Retry With
Content-Type: text/html
Server: Microsoft-IIS/10.0
MS-RetryWith: Required-Header: X-Custom-Auth
<html><body>Please retry with the appropriate parameters</body></html>Common Causes
- Request missing required custom headers
- Authentication parameters incomplete
- Request needs additional context or metadata
- Application requires specific retry behavior
- Custom IIS authentication scheme requires more info
- WebDAV operations needing additional properties
Technical Details
What does this mean?
Not quite right, try again! Like showing up to a party with the wrong password β the bouncer tells you what you're missing and gives you another shot. Come back with the right stuff!
Technical Definition
The request should be retried after performing the appropriate action based on additional information in the response headers.
Code Snippets
Ready-to-use code for returning this HTTP status in your application:
// Express.js
app.get('/example', (req, res) => {
res.status(449).json({
error: 'Retry With',
message: 'Your error message here'
});
});
// Native HTTP
const http = require('http');
http.createServer((req, res) => {
res.writeHead(449, { 'Content-Type': 'application/json' });
res.end(JSON.stringify({
error: 'Retry With',
message: 'Your error message here'
}));
}).listen(3000);Related Status Codes
- 428Precondition Required
HTTP Response HTTP/1.1 428 Precondition Required - 511Network Authentication Required
HTTP Response HTTP/1.1 511 Network Authentication Required Content-Type: text/html <html><body>Please log in to access the network</body></html>
449 Retry With FAQ
What causes a 449 Retry With error?
Request missing required custom headers. Authentication parameters incomplete. Request needs additional context or metadata. Application requires specific retry behavior. Custom IIS authentication scheme requires more info. WebDAV operations needing additional properties.