{"record":{"id":"e6bb4700aa67c124","repo":"apache/flink","slug":"the-job-status-cannot-be-requested-when-in-web-sub","errorCode":null,"errorMessage":"The Job Status cannot be requested when in Web Submission.","messagePattern":"The Job Status cannot be requested when in Web Submission\\.","errorType":"exception","errorClass":"FlinkRuntimeException","httpStatus":null,"severity":"error","filePath":"flink-clients/src/main/java/org/apache/flink/client/deployment/application/WebSubmissionJobClient.java","lineNumber":58,"sourceCode":" * while waiting for their completion.\n */\n@PublicEvolving\npublic class WebSubmissionJobClient implements JobClient {\n\n    private final JobID jobId;\n\n    public WebSubmissionJobClient(final JobID jobId) {\n        this.jobId = checkNotNull(jobId);\n    }\n\n    @Override\n    public JobID getJobID() {\n        return jobId;\n    }\n\n    @Override\n    public CompletableFuture<JobStatus> getJobStatus() {\n        throw new FlinkRuntimeException(\n                \"The Job Status cannot be requested when in Web Submission.\");\n    }\n\n    @Override\n    public CompletableFuture<Void> cancel() {\n        throw new FlinkRuntimeException(\n                \"Cancelling the job is not supported by the Job Client when in Web Submission.\");\n    }\n\n    @Override\n    public CompletableFuture<String> stopWithSavepoint(\n            boolean advanceToEndOfEventTime,\n            @Nullable String savepointDirectory,\n            SavepointFormatType formatType) {\n        throw new FlinkRuntimeException(\n                \"Stop with Savepoint is not supported by the Job Client when in Web Submission.\");\n    }\n","sourceCodeStart":40,"sourceCodeEnd":76,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-clients/src/main/java/org/apache/flink/client/deployment/application/WebSubmissionJobClient.java#L40-L76","documentation":"Error \"The Job Status cannot be requested when in Web Submission.\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: The Job Status cannot be requested when in Web Submission.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: The Job Status cannot be requested when in Web Submission.","solutions":["Address the cause reported by the error message: The Job Status cannot be requested when in Web Submission.","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"The Job Status cannot be requested when in Web Submission.\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}