Variables disappear, can not product new variable at all v0.11.4 #21680

Open
opened 2026-02-21 20:13:50 -05:00 by yindo · 5 comments
Owner

Originally created by @tnfsmith on GitHub (Jan 15, 2026).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

v.1.11.4

Cloud or Self Hosted

Self Hosted (Source), Self Hosted (Docker)

Steps to reproduce

Hi, since update from v1.11.3 and now .4. The variables can no re-product. It always get error, can not save workflow at all.

✔️ Expected Behavior

work like v1.11.2

Actual Behavior

No response

Originally created by @tnfsmith on GitHub (Jan 15, 2026). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version v.1.11.4 ### Cloud or Self Hosted Self Hosted (Source), Self Hosted (Docker) ### Steps to reproduce Hi, since update from v1.11.3 and now .4. The variables can no re-product. It always get error, can not save workflow at all. ### ✔️ Expected Behavior work like v1.11.2 ### ❌ Actual Behavior _No response_
yindo added the 🐞 bugstale labels 2026-02-21 20:13:50 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jan 15, 2026):

This is a known regression in v1.11.4: after upgrading from v1.11.3, variables may disappear or can't be created, which blocks workflow saving. The root cause is a breaking change that now requires every workflow node output to include a value_type field. Workflows created before this change may lack this field, causing validation errors and preventing saves. The backend also now enforces stricter validation on variable operations, so any mismatch between frontend data and backend expectations (like missing value_type) can trigger these issues.

There’s no official migration script yet. As a workaround, try re-importing the end node and setting variables again. If that doesn’t help and you need an urgent fix, downgrading to your previous stable version is recommended until a patch is released. Maintainers are aware and working on a fix. More details and discussion are available here.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Jan 15, 2026): <!-- Answer --> This is a known regression in v1.11.4: after upgrading from v1.11.3, variables may disappear or can't be created, which blocks workflow saving. The root cause is a breaking change that now requires every workflow node output to include a `value_type` field. Workflows created before this change may lack this field, causing validation errors and preventing saves. The backend also now enforces stricter validation on variable operations, so any mismatch between frontend data and backend expectations (like missing `value_type`) can trigger these issues. There’s no official migration script yet. As a workaround, try re-importing the end node and setting variables again. If that doesn’t help and you need an urgent fix, downgrading to your previous stable version is recommended until a patch is released. Maintainers are aware and working on a fix. More details and discussion are available [here](https://github.com/langgenius/dify/issues/29466). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/1bb1e0ed-7478-4871-8efa-edfc47943a1c?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/1bb1e0ed-7478-4871-8efa-edfc47943a1c?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/1bb1e0ed-7478-4871-8efa-edfc47943a1c?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/1bb1e0ed-7478-4871-8efa-edfc47943a1c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1bb1e0ed-7478-4871-8efa-edfc47943a1c?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/1bb1e0ed-7478-4871-8efa-edfc47943a1c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1bb1e0ed-7478-4871-8efa-edfc47943a1c?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20a%20known%20regression%20in%20v1.11.4%3A%20after%20upgrading%20from%20v1.11.3%2C%20variables%20may%20disappear%20or%20can%27t%20be%20created%2C%20which%20blocks%20workflow%20saving.%20The%20root%20cause%20is%20a%20breaking%20change%20that%20now%20requires%20every%20workflow%20node%20output%20to%20include%20a%20%60value_type%60%20field.%20Workflows%20created%20before%20this%20change%20may%20lack%20this%20field%2C%20causing%20validation%20errors%20and%20preventing%20saves.%20The%20backend%20also%20now%20enforces%20stricter%20validation%20on%20variable%20operations%2C%20so%20any%20mismatch%20between%20frontend%20data%20and%20backend%20expectations%20%28like%20missing%20%60value_type%60%29%20can%20trigger%20these%20issues.%0A%0AThere%E2%80%99s%20no%20official%20migration%20script%20yet.%20As%20a%20workaround%2C%20try%20re-importing%20the%20end%20node%20and%20setting%20variables%20again.%20If%20that%20doesn%E2%80%99t%20help%20and%20you%20need%20an%20urgent%20fix%2C%20downgrading%20to%20your%20previous%20stable%20version%20is%20recommended%20until%20a%20patch%20is%20released.%20Maintainers%20are%20aware%20and%20working%20on%20a%20fix.%20More%20details%20and%20discussion%20are%20available%20%5Bhere%5D%28https%3A//github.com/langgenius/dify/issues/29466%29.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/31065)
Author
Owner

@tnfsmith commented on GitHub (Jan 15, 2026):

Image.

Checklist always invalid, what the heck the, I don't know

@tnfsmith commented on GitHub (Jan 15, 2026): <img width="708" height="249" alt="Image" src="https://github.com/user-attachments/assets/2f79c222-2973-4246-a699-df9ada18151f" />. Checklist always invalid, what the heck the, I don't know
Author
Owner

@dosubot[bot] commented on GitHub (Jan 15, 2026):

This "Invalid variable" checklist error is a known pain point after the v1.11.4 update. Dify now requires every variable (including those used in HTTP Request nodes) to have a type ("value_type") and be defined somewhere earlier in the workflow. If a variable is missing, misspelled, or lacks this metadata, the checklist will block you from saving or running the workflow—but it only shows a generic error, not which variable is the problem, which makes debugging frustrating (source).

Here’s what you can try:

  • Double-check all variable references in your HTTP Request node for typos or missing variables.
  • Make sure every variable you use is actually created by a previous node and has a type assigned.
  • If you’re referencing variables in a JSON body, try putting them in double quotes (e.g., "{{your_var}}")—this has fixed similar issues for others (source).
  • If you recently upgraded, try deleting and re-adding the affected node(s), or recreating the variables from scratch.
  • Recent fixes (PRs #30082, #30894) have improved validation for optional/null values and JSON objects, so updating to the latest patch may help if you’re not already on it.

If you’re comfortable editing workflow JSON, you can export your workflow, look for missing "value_type" fields in variable definitions, and add them manually as a workaround.

If you want more targeted help, feel free to share the specific variable reference or a snippet of your workflow config. The maintainers are aware of this issue and are working on making the error messages more helpful in future releases.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Jan 15, 2026): <!-- Answer --> This "Invalid variable" checklist error is a known pain point after the v1.11.4 update. Dify now requires every variable (including those used in HTTP Request nodes) to have a type ("value_type") and be defined somewhere earlier in the workflow. If a variable is missing, misspelled, or lacks this metadata, the checklist will block you from saving or running the workflow—but it only shows a generic error, not which variable is the problem, which makes debugging frustrating [(source)](https://github.com/langgenius/dify/issues/27886). Here’s what you can try: - Double-check all variable references in your HTTP Request node for typos or missing variables. - Make sure every variable you use is actually created by a previous node and has a type assigned. - If you’re referencing variables in a JSON body, try putting them in double quotes (e.g., `"{{your_var}}"`)—this has fixed similar issues for others [(source)](https://github.com/langgenius/dify/issues/17071). - If you recently upgraded, try deleting and re-adding the affected node(s), or recreating the variables from scratch. - Recent fixes (PRs #30082, #30894) have improved validation for optional/null values and JSON objects, so updating to the latest patch may help if you’re not already on it. If you’re comfortable editing workflow JSON, you can export your workflow, look for missing "value_type" fields in variable definitions, and add them manually as a workaround. If you want more targeted help, feel free to share the specific variable reference or a snippet of your workflow config. The maintainers are aware of this issue and are working on making the error messages more helpful in future releases. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/8e61321c-f8e9-49d9-bce4-1c28292d93e7?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/8e61321c-f8e9-49d9-bce4-1c28292d93e7?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/8e61321c-f8e9-49d9-bce4-1c28292d93e7?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/8e61321c-f8e9-49d9-bce4-1c28292d93e7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8e61321c-f8e9-49d9-bce4-1c28292d93e7?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/8e61321c-f8e9-49d9-bce4-1c28292d93e7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8e61321c-f8e9-49d9-bce4-1c28292d93e7?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20%22Invalid%20variable%22%20checklist%20error%20is%20a%20known%20pain%20point%20after%20the%20v1.11.4%20update.%20Dify%20now%20requires%20every%20variable%20%28including%20those%20used%20in%20HTTP%20Request%20nodes%29%20to%20have%20a%20type%20%28%22value_type%22%29%20and%20be%20defined%20somewhere%20earlier%20in%20the%20workflow.%20If%20a%20variable%20is%20missing%2C%20misspelled%2C%20or%20lacks%20this%20metadata%2C%20the%20checklist%20will%20block%20you%20from%20saving%20or%20running%20the%20workflow%E2%80%94but%20it%20only%20shows%20a%20generic%20error%2C%20not%20which%20variable%20is%20the%20problem%2C%20which%20makes%20debugging%20frustrating%20%5B%28source%29%5D%28https%3A//github.com/langgenius/dify/issues/27886%29.%0A%0AHere%E2%80%99s%20what%20you%20can%20try%3A%0A-%20Double-check%20all%20variable%20references%20in%20your%20HTTP%20Request%20node%20for%20typos%20or%20missing%20variables.%0A-%20Make%20sure%20every%20variable%20you%20use%20is%20actually%20created%20by%20a%20previous%20node%20and%20has%20a%20type%20assigned.%0A-%20If%20you%E2%80%99re%20referencing%20variables%20in%20a%20JSON%20body%2C%20try%20putting%20them%20in%20double%20quotes%20%28e.g.%2C%20%60%22%7B%7Byour_var%7D%7D%22%60%29%E2%80%94this%20has%20fixed%20similar%20issues%20for%20others%20%5B%28source%29%5D%28https%3A//github.com/langgenius/dify/issues/17071%29.%0A-%20If%20you%20recently%20upgraded%2C%20try%20deleting%20and%20re-adding%20the%20affected%20node%28s%29%2C%20or%20recreating%20the%20variables%20from%20scratch.%0A-%20Recent%20fixes%20%28PRs%20%2330082%2C%20%2330894%29%20have%20improved%20validation%20for%20optional/null%20values%20and%20JSON%20objects%2C%20so%20updating%20to%20the%20latest%20patch%20may%20help%20if%20you%E2%80%99re%20not%20already%20on%20it.%0A%0AIf%20you%E2%80%99re%20comfortable%20editing%20workflow%20JSON%2C%20you%20can%20export%20your%20workflow%2C%20look%20for%20missing%20%22value_type%22%20fields%20in%20variable%20definitions%2C%20and%20add%20them%20manually%20as%20a%20workaround.%0A%0AIf%20you%20want%20more%20targeted%20help%2C%20feel%20free%20to%20share%20the%20specific%20variable%20reference%20or%20a%20snippet%20of%20your%20workflow%20config.%20The%20maintainers%20are%20aware%20of%20this%20issue%20and%20are%20working%20on%20making%20the%20error%20messages%20more%20helpful%20in%20future%20releases.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/31065)
Author
Owner

@tnfsmith commented on GitHub (Jan 15, 2026):

No, no, I try to create new workflow and then do the same with my existed workflow like before. Create brand new and the error still sit there. Sadly, it error may related to the cores

@tnfsmith commented on GitHub (Jan 15, 2026): No, no, I try to create new workflow and then do the same with my existed workflow like before. Create brand new and the error still sit there. Sadly, it error may related to the cores
Author
Owner

@dosubot[bot] commented on GitHub (Jan 15, 2026):

This error is caused by a regression in Dify v1.11.4’s core backend logic for variable handling. Recent changes introduced stricter validation and a new centralized variable persistence layer, which now affects both new and existing workflows. The “Invalid variable” checklist error usually means a variable is missing, misreferenced, or lacks required metadata (like value_type), and the backend now enforces this much more strictly—even for brand new workflows. This isn’t related to CPU or worker “cores,” but rather to the core workflow engine and variable validation logic itself source.

To troubleshoot: check that every variable you reference is created by a previous node and has a type assigned. If you’re comfortable, export your workflow JSON and look for missing value_type fields in variable definitions. Sometimes, deleting and re-adding nodes or variables can help, but in this version, even new workflows can hit this bug. If you need to get unblocked urgently, downgrading to your previous stable version is the only reliable workaround until a patch is released.

If you can share backend error logs or a snippet of your workflow config, I can help pinpoint exactly which variable or field is causing the failure. The maintainers are aware and working on a fix.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Jan 15, 2026): <!-- Answer --> This error is caused by a regression in Dify v1.11.4’s core backend logic for variable handling. Recent changes introduced stricter validation and a new centralized variable persistence layer, which now affects both new and existing workflows. The “Invalid variable” checklist error usually means a variable is missing, misreferenced, or lacks required metadata (like value_type), and the backend now enforces this much more strictly—even for brand new workflows. This isn’t related to CPU or worker “cores,” but rather to the core workflow engine and variable validation logic itself [source](https://github.com/langgenius/dify/pull/30531). To troubleshoot: check that every variable you reference is created by a previous node and has a type assigned. If you’re comfortable, export your workflow JSON and look for missing value_type fields in variable definitions. Sometimes, deleting and re-adding nodes or variables can help, but in this version, even new workflows can hit this bug. If you need to get unblocked urgently, downgrading to your previous stable version is the only reliable workaround until a patch is released. If you can share backend error logs or a snippet of your workflow config, I can help pinpoint exactly which variable or field is causing the failure. The maintainers are aware and working on a fix. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/8e0ed4df-a629-4b07-91a8-d29ed1fde883?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/8e0ed4df-a629-4b07-91a8-d29ed1fde883?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/8e0ed4df-a629-4b07-91a8-d29ed1fde883?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/8e0ed4df-a629-4b07-91a8-d29ed1fde883?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8e0ed4df-a629-4b07-91a8-d29ed1fde883?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/8e0ed4df-a629-4b07-91a8-d29ed1fde883?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8e0ed4df-a629-4b07-91a8-d29ed1fde883?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20error%20is%20caused%20by%20a%20regression%20in%20Dify%20v1.11.4%E2%80%99s%20core%20backend%20logic%20for%20variable%20handling.%20Recent%20changes%20introduced%20stricter%20validation%20and%20a%20new%20centralized%20variable%20persistence%20layer%2C%20which%20now%20affects%20both%20new%20and%20existing%20workflows.%20The%20%E2%80%9CInvalid%20variable%E2%80%9D%20checklist%20error%20usually%20means%20a%20variable%20is%20missing%2C%20misreferenced%2C%20or%20lacks%20required%20metadata%20%28like%20value_type%29%2C%20and%20the%20backend%20now%20enforces%20this%20much%20more%20strictly%E2%80%94even%20for%20brand%20new%20workflows.%20This%20isn%E2%80%99t%20related%20to%20CPU%20or%20worker%20%E2%80%9Ccores%2C%E2%80%9D%20but%20rather%20to%20the%20core%20workflow%20engine%20and%20variable%20validation%20logic%20itself%20%5Bsource%5D%28https%3A//github.com/langgenius/dify/pull/30531%29.%0A%0ATo%20troubleshoot%3A%20check%20that%20every%20variable%20you%20reference%20is%20created%20by%20a%20previous%20node%20and%20has%20a%20type%20assigned.%20If%20you%E2%80%99re%20comfortable%2C%20export%20your%20workflow%20JSON%20and%20look%20for%20missing%20value_type%20fields%20in%20variable%20definitions.%20Sometimes%2C%20deleting%20and%20re-adding%20nodes%20or%20variables%20can%20help%2C%20but%20in%20this%20version%2C%20even%20new%20workflows%20can%20hit%20this%20bug.%20If%20you%20need%20to%20get%20unblocked%20urgently%2C%20downgrading%20to%20your%20previous%20stable%20version%20is%20the%20only%20reliable%20workaround%20until%20a%20patch%20is%20released.%0A%0AIf%20you%20can%20share%20backend%20error%20logs%20or%20a%20snippet%20of%20your%20workflow%20config%2C%20I%20can%20help%20pinpoint%20exactly%20which%20variable%20or%20field%20is%20causing%20the%20failure.%20The%20maintainers%20are%20aware%20and%20working%20on%20a%20fix.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/31065)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#21680