{"record":{"id":"b5298fe51278fadd","repo":"Comfy-Org/ComfyUI","slug":"either-text-style-prompt-or-image-style-is-require","errorCode":null,"errorMessage":"Either text_style_prompt or image_style is required","messagePattern":"Either text_style_prompt or image_style is required","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"comfy_api_nodes/nodes_meshy.py","lineNumber":783,"sourceCode":"        pbr: bool,\n        text_style_prompt: str,\n        image_style: Input.Image | None = None,\n    ) -> IO.NodeOutput:\n        if text_style_prompt and image_style is not None:\n            raise ValueError(\"text_style_prompt and image_style cannot be used at the same time\")\n        if not text_style_prompt and image_style is None:\n            raise ValueError(\"Either text_style_prompt or image_style is required\")\n        image_style_url = None\n        if image_style is not None:\n            image_style_url = (await upload_images_to_comfyapi(cls, image_style, wait_label=\"Uploading style\"))[0]","sourceCodeStart":765,"sourceCodeEnd":801,"githubUrl":"https://github.com/Comfy-Org/ComfyUI/blob/1c6d8d45b3693bfbb32385b410d813a7fd6be216/comfy_api_nodes/nodes_meshy.py#L765-L801","documentation":"Error \"Either text_style_prompt or image_style is required\" thrown in Comfy-Org/ComfyUI.","triggerScenarios":"Thrown at comfy_api_nodes/nodes_meshy.py:783 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide either text_style_prompt or image_style."],"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"}