{"record":{"id":"7a4579bd017c12a9","repo":"sqlmapproject/sqlmap","slug":"specified-second-order-http-request-file-s-does","errorCode":null,"errorMessage":"specified second-order HTTP request file '%s' does not exist","messagePattern":"specified second-order HTTP request file '(.+?)' does not exist","errorType":"exception","errorClass":"SqlmapFilePathException","httpStatus":null,"severity":"error","filePath":"lib/core/option.py","lineNumber":338,"sourceCode":"                url = target[0]\n                if url not in seen:\n                    kb.targets.add(target)\n                    if len(kb.targets) > 1:\n                        conf.multipleTargets = True\n                    seen.add(url)\n\n            if url is None:\n                errMsg = \"specified file '%s' \" % requestFile\n                errMsg += \"does not contain a usable HTTP request (with parameters)\"\n                raise SqlmapDataException(errMsg)\n\n    if conf.secondReq:\n        conf.secondReq = safeExpandUser(conf.secondReq)\n\n        if not checkFile(conf.secondReq, False):\n            errMsg = \"specified second-order HTTP request file '%s' \" % conf.secondReq\n            errMsg += \"does not exist\"\n            raise SqlmapFilePathException(errMsg)\n\n        infoMsg = \"parsing second-order HTTP request from '%s'\" % conf.secondReq\n        logger.info(infoMsg)\n\n        try:\n            target = next(parseRequestFile(conf.secondReq, False))\n            kb.secondReq = target\n        except StopIteration:\n            errMsg = \"specified second-order HTTP request file '%s' \" % conf.secondReq\n            errMsg += \"does not contain a valid HTTP request\"\n            raise SqlmapDataException(errMsg)\n\ndef _setCrawler():\n    if not conf.crawlDepth:\n        return\n\n    if not conf.bulkFile:\n        if conf.url:","sourceCodeStart":320,"sourceCodeEnd":356,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/core/option.py#L320-L356","documentation":"The second-order request file named by --second-request does not exist; the auxiliary file used to fetch post-injection results is checked for existence right after the primary request files are processed.","triggerScenarios":"Thrown at lib/core/option.py:338 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Correct the --second-order file path","Ensure the file is readable by the sqlmap process","Verify working directory when using relative paths"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}