{"record":{"id":"53db7ac10d854bc9","repo":"Comfy-Org/ComfyUI","slug":"image-area-must-be-between-min-area-512x512-an","errorCode":null,"errorMessage":"Image area must be between {MIN_AREA} (512x512) and {MAX_AREA} (2560x2560) pixels; got {width}x{height} = {width * height}.","messagePattern":"Image area must be between (.+?) \\(512x512\\) and (.+?) \\(2560x2560\\) pixels; got (.+?)x(.+?) = (.+?)\\.","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_qwen.py","lineNumber":63,"sourceCode":"        prev_end = match.end()\n    parts.append(prompt[pos:])\n    return \"\".join(parts)\n\n\ndef _validate_size(width: int, height: int) -> None:\n    if not MIN_AREA <= width * height <= MAX_AREA:\n        raise ValueError(\n            f\"Image area must be between {MIN_AREA} (512x512) and {MAX_AREA} (2560x2560) pixels; \"\n            f\"got {width}x{height} = {width * height}.\"\n        )","sourceCodeStart":45,"sourceCodeEnd":81,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_qwen.py#L45-L81","documentation":"Error \"Image area must be between {MIN_AREA} (512x512) and {MAX_AREA} (2560x2560) pixels; got {width}x{height} = {width * height}.\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_qwen.py:63 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Resize the image so its area is between 512x512 and 2560x2560 pixels."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1c6d8d45b3693bfbb32385b410d813a7fd6be216","analyzedAt":"2026-08-14T19:37:18.893Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}