🔄
449
Retry With
Example HTTP Response
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:
Node.js
// 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