{"record":{"id":"1a0a9f54f5768687","repo":"sqlmapproject/sqlmap","slug":"empty-value-supplied","errorCode":null,"errorMessage":"Empty value supplied","messagePattern":"Empty value supplied","errorType":"validation","errorClass":"SqlmapNoneDataException","httpStatus":null,"severity":"error","filePath":"lib/controller/checks.py","lineNumber":1522,"sourceCode":"\n        elif choice == 'S':\n            showStaticWords(firstPage, secondPage)\n\n            message = \"please enter value for parameter 'string': \"\n            string = readInput(message)\n\n            if string:\n                conf.string = string\n\n                if kb.nullConnection:\n                    debugMsg = \"turning off NULL connection \"\n                    debugMsg += \"support because of string checking\"\n                    logger.debug(debugMsg)\n\n                    kb.nullConnection = None\n            else:\n                errMsg = \"Empty value supplied\"\n                raise SqlmapNoneDataException(errMsg)\n\n        elif choice == 'R':\n            message = \"please enter value for parameter 'regex': \"\n            regex = readInput(message)\n\n            if regex:\n                conf.regex = regex\n\n                if kb.nullConnection:\n                    debugMsg = \"turning off NULL connection \"\n                    debugMsg += \"support because of regex checking\"\n                    logger.debug(debugMsg)\n\n                    kb.nullConnection = None\n            else:\n                errMsg = \"Empty value supplied\"\n                raise SqlmapNoneDataException(errMsg)\n","sourceCodeStart":1504,"sourceCodeEnd":1540,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/controller/checks.py#L1504-L1540","documentation":"In sqlmap's --string interactive flow, checkStability prompts the user to enter the value of the 'string' parameter; an empty input is rejected with this SqlmapValueException. It is a user-input validation guard — sqlmap needs a non-empty needle to search responses for.","triggerScenarios":"Thrown at lib/controller/checks.py:1522 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Re-run and provide a non-empty string value when prompted.","Use the --string option directly to supply the value non-interactively.","Pick a substring that genuinely distinguishes the true response from the false one.","Abort the interactive selection (choose 'q') instead of entering an empty value."],"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"}