{"record":{"id":"201e8d9d6371ec14","repo":"sqlmapproject/sqlmap","slug":"specified-http-request-file-s-does-not-exist","errorCode":null,"errorMessage":"specified HTTP request file '%s' does not exist","messagePattern":"specified HTTP request file '(.+?)' does not exist","errorType":"exception","errorClass":"SqlmapFilePathException","httpStatus":null,"severity":"error","filePath":"lib/core/option.py","lineNumber":314,"sourceCode":"    FORMATTER._format = FORMATTER.format\n    FORMATTER.format = format\n\ndef _setRequestFromFile():\n    \"\"\"\n    This function checks if the way to make a HTTP request is through supplied\n    textual file, parses it and saves the information into the knowledge base.\n    \"\"\"\n\n    if conf.requestFile:\n        for requestFile in re.split(PARAMETER_SPLITTING_REGEX, conf.requestFile):\n            requestFile = safeExpandUser(requestFile)\n            url = None\n            seen = set()\n\n            if not checkFile(requestFile, False):\n                errMsg = \"specified HTTP request file '%s' \" % requestFile\n                errMsg += \"does not exist\"\n                raise SqlmapFilePathException(errMsg)\n\n            infoMsg = \"parsing HTTP request from '%s'\" % requestFile\n            logger.info(infoMsg)\n\n            for target in parseRequestFile(requestFile):\n                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:","sourceCodeStart":296,"sourceCodeEnd":332,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/core/option.py#L296-L332","documentation":"Error \"specified HTTP request file '%s' does not exist\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/core/option.py:314 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"}