{"record":{"id":"f84f4280090c4442","repo":"sqlmapproject/sqlmap","slug":"page-not-found-d","errorCode":null,"errorMessage":"page not found (%d)","messagePattern":"page not found \\((.+?)\\)","errorType":"http","errorClass":"SqlmapConnectionException","httpStatus":404,"severity":"error","filePath":"lib/request/connect.py","lineNumber":942,"sourceCode":"                    errMsg = \"not authorized, try to provide right HTTP \"\n                    errMsg += \"authentication type and valid credentials (%d). \" % code\n                    errMsg += \"If this is intended, try to rerun by providing \"\n                    errMsg += \"a valid value for option '--ignore-code'\"\n                    raise SqlmapConnectionException(errMsg)\n                elif chunked and ex.code in (_http_client.METHOD_NOT_ALLOWED, _http_client.LENGTH_REQUIRED):\n                    warnMsg = \"turning off HTTP chunked transfer encoding \"\n                    warnMsg += \"as it seems that the target site doesn't support it (%d)\" % code\n                    singleTimeWarnMessage(warnMsg)\n                    conf.chunked = kwargs[\"chunked\"] = False\n                    return Connect.getPage(**kwargs)\n                elif ex.code == _http_client.REQUEST_URI_TOO_LONG:\n                    warnMsg = \"request URI is marked as too long by the target. \"\n                    warnMsg += \"you are advised to try a switch '--no-cast' and/or '--no-escape'\"\n                    singleTimeWarnMessage(warnMsg)\n                elif ex.code == _http_client.NOT_FOUND:\n                    if raise404:\n                        errMsg = \"page not found (%d)\" % code\n                        raise SqlmapConnectionException(errMsg)\n                    else:\n                        debugMsg = \"page not found (%d)\" % code\n                        singleTimeLogMessage(debugMsg, logging.DEBUG)\n                elif ex.code == _http_client.GATEWAY_TIMEOUT:\n                    if ignoreTimeout:\n                        return None if not conf.ignoreTimeouts else \"\", None, None\n                    else:\n                        warnMsg = \"unable to connect to the target URL (%d - %s)\" % (ex.code, _http_client.responses[ex.code])\n                        if threadData.retriesCount < conf.retries and not kb.threadException:\n                            warnMsg += \". sqlmap is going to retry the request\"\n                            logger.critical(warnMsg)\n                            return Connect._retryProxy(**kwargs)\n                        elif kb.testMode:\n                            logger.critical(warnMsg)\n                            return None, None, None\n                        else:\n                            raise SqlmapConnectionException(warnMsg)\n                else:","sourceCodeStart":924,"sourceCodeEnd":960,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/request/connect.py#L924-L960","documentation":"Error \"page not found (%d)\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/request/connect.py:942 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":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}