{"record":{"id":"a11b325c43fb2ecd","repo":"sqlmapproject/sqlmap","slug":"switch-text-only-is-incompatible-with-switch","errorCode":null,"errorMessage":"switch '--text-only' is incompatible with switch '--null-connection'","messagePattern":"switch '--text-only' is incompatible with switch '--null-connection'","errorType":"exception","errorClass":"SqlmapSyntaxException","httpStatus":null,"severity":"error","filePath":"lib/core/option.py","lineNumber":2813,"sourceCode":"\n    if isinstance(conf.limitStart, int) and conf.limitStart > 0 and \\\n       isinstance(conf.limitStop, int) and conf.limitStop < conf.limitStart:\n        warnMsg = \"usage of option '--start' (limitStart) which is bigger than value for --stop (limitStop) option is considered unstable\"\n        logger.warning(warnMsg)\n\n    if isinstance(conf.firstChar, int) and conf.firstChar > 0 and \\\n       isinstance(conf.lastChar, int) and conf.lastChar < conf.firstChar:\n        errMsg = \"value for option '--first' (firstChar) must be smaller than or equal to value for --last (lastChar) option\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.proxyFile and not any((conf.randomAgent, conf.mobile, conf.agent, conf.requestFile)):\n        warnMsg = \"usage of switch '--random-agent' is strongly recommended when \"\n        warnMsg += \"using option '--proxy-file'\"\n        logger.warning(warnMsg)\n\n    if conf.textOnly and conf.nullConnection:\n        errMsg = \"switch '--text-only' is incompatible with switch '--null-connection'\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.http2 and any((conf.tor, conf.proxy and conf.proxy.lower().startswith(\"socks\"))):\n        errMsg = \"HTTP/2 support is currently incompatible with SOCKS/Tor proxies\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.uValues and conf.uChar:\n        errMsg = \"option '--union-values' is incompatible with option '--union-char'\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.base64Parameter and conf.tamper:\n        errMsg = \"option '--base64' is incompatible with option '--tamper'\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.eta and conf.verbose > defaults.verbose:\n        errMsg = \"switch '--eta' is incompatible with option '-v'\"\n        raise SqlmapSyntaxException(errMsg)\n\n    if conf.secondUrl and conf.secondReq:","sourceCodeStart":2795,"sourceCodeEnd":2831,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/core/option.py#L2795-L2831","documentation":"Error \"switch '--text-only' is incompatible with switch '--null-connection'\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at lib/core/option.py:2813 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"}