{"record":{"id":"19dfe68633a9ddd0","repo":"nginx/nginx","slug":"405-not-allowed","errorCode":null,"errorMessage":"405 Not Allowed","messagePattern":"405 Not Allowed","errorType":"http","errorClass":null,"httpStatus":405,"severity":"error","filePath":"src/http/ngx_http_special_response.c","lineNumber":140,"sourceCode":"\n\nstatic char ngx_http_error_403_page[] =\n\"<html>\" CRLF\n\"<head><title>403 Forbidden</title></head>\" CRLF\n\"<body>\" CRLF\n\"<center><h1>403 Forbidden</h1></center>\" CRLF\n;\n\n\nstatic char ngx_http_error_404_page[] =\n\"<html>\" CRLF\n\"<head><title>404 Not Found</title></head>\" CRLF\n\"<body>\" CRLF\n\"<center><h1>404 Not Found</h1></center>\" CRLF\n;\n\n\nstatic char ngx_http_error_405_page[] =\n\"<html>\" CRLF\n\"<head><title>405 Not Allowed</title></head>\" CRLF\n\"<body>\" CRLF\n\"<center><h1>405 Not Allowed</h1></center>\" CRLF\n;\n\n\nstatic char ngx_http_error_406_page[] =\n\"<html>\" CRLF\n\"<head><title>406 Not Acceptable</title></head>\" CRLF\n\"<body>\" CRLF\n\"<center><h1>406 Not Acceptable</h1></center>\" CRLF\n;\n\n\nstatic char ngx_http_error_407_page[] =\n\"<html>\" CRLF\n\"<head><title>407 Proxy Authentication Required</title></head>\" CRLF","sourceCodeStart":122,"sourceCodeEnd":158,"githubUrl":"https://github.com/nginx/nginx/blob/3f6f7824d4e2eb1ac37dec76683d525ac0ff521c/src/http/ngx_http_special_response.c#L122-L158","documentation":"Error \"405 Not Allowed\" thrown in nginx/nginx.","triggerScenarios":"Thrown at src/http/ngx_http_special_response.c:140 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f6f7824d4e2eb1ac37dec76683d525ac0ff521c","analyzedAt":"2026-08-22T03:09:46.447Z","schemaVersion":2},"datasetVersion":"2026-08-22T04:17:13.399Z"}