{"id":"16442f52dc9d3c80","repo":"spring-projects/spring-boot","slug":"error-response-received-when-pushing-image-erro","errorCode":null,"errorMessage":"Error response received when pushing image: ${errorDetail.getMessage()}","messagePattern":"Error response received when pushing image: (.+?)","errorType":"exception","errorClass":"IllegalStateException","httpStatus":null,"severity":"error","filePath":"buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/DockerApi.java","lineNumber":631,"sourceCode":"\n\t\tprivate void assertValidResponseReceived() {\n\t\t\tAssert.state(StringUtils.hasText(this.stream),\n\t\t\t\t\t() -> \"Invalid response received when loading image\" + image());\n\t\t}\n\n\t}\n\n\t/**\n\t * {@link UpdateListener} used to capture the details of an error in a response\n\t * stream.\n\t */\n\tprivate static final class ErrorCaptureUpdateListener implements UpdateListener<PushImageUpdateEvent> {\n\n\t\t@Override\n\t\tpublic void onUpdate(PushImageUpdateEvent event) {\n\t\t\tErrorDetail errorDetail = event.getErrorDetail();\n\t\t\tif (errorDetail != null) {\n\t\t\t\tthrow new IllegalStateException(\n\t\t\t\t\t\t\"Error response received when pushing image: \" + errorDetail.getMessage());\n\t\t\t}\n\t\t}\n\n\t}\n\n\tenum Feature {\n\n\t\tBASELINE(ApiVersion.of(1, 24)),\n\n\t\tPLATFORM_IMAGE_PULL(ApiVersion.of(1, 41)),\n\n\t\tPLATFORM_CONTAINER_CREATE(ApiVersion.of(1, 41)),\n\n\t\tPLATFORM_IMAGE_INSPECT(ApiVersion.of(1, 49)),\n\n\t\tPLATFORM_IMAGE_EXPORT(ApiVersion.of(1, 48));\n","sourceCodeStart":613,"sourceCodeEnd":649,"githubUrl":"https://github.com/spring-projects/spring-boot/blob/5b2dbdbb8be64415eb6552f81ff7c449c8d251e6/buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/DockerApi.java#L613-L649","documentation":"Error \"Error response received when pushing image: ${errorDetail.getMessage()}\" thrown in spring-projects/spring-boot.","triggerScenarios":"Thrown at buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/DockerApi.java:631 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"analyzedSha":"5b2dbdbb8be64415eb6552f81ff7c449c8d251e6","analyzedAt":"2026-08-04T18:53:14.967Z","schemaVersion":2}