#15853·activepieces

Project variable Copy reference is flagged as missing by flow validator

Author: gaabii0424-hubCreated Sep 27, 2026Updated Sep 29, 2026
Labelsbug

Environment

  • Activepieces Cloud, Personal Project. The exact cloud version is unavailable in the read-only UI.
  • Webhook trigger: "@activepieces/piece-webhook" v0.1.42.
  • HTTP action: "@activepieces/piece-http" v0.12.1.
  • The draft flow is disabled and unpublished.

Observed behavior

A project variable exists in the same visible project as the draft flow. Its Copy reference text matches the reference in an HTTP action JSON body. With the variable name replaced for privacy, the expression has this form: "{{variables['EXAMPLE_SECRET']}}". The "Project Variables guide" (https://www.activepieces.com/docs/flows/project-variables) documents this syntax.

Read-only structural validation reports a "template_reference" error on the HTTP action, saying the "{{variables...}}" reference does not exist in the flow. It reports 14 structurally valid steps and no invalid steps, but "valid=false" overall because of this error. The variable value was not revealed.

Expected behavior / clarification requested

Does the flow validator resolve project-scoped variables, or does it validate only step-output references? If this expression is valid at runtime but cannot be resolved by the validator, please document that distinction. If the error indicates a scope or permission problem, please explain how to diagnose it without revealing the value or running or publishing the flow.

Reproduction information available

  1. In one Personal Project, create a project variable and copy its reference from the Variables page.
  2. Insert the exact reference into an HTTP action JSON input of a disabled, unpublished draft flow.
  3. Run structural validation only, without running the flow.
  4. Observe a "template_reference" error for "{{variables...}}".

This describes the observed configuration; I have not independently reproduced it in a fresh project. The webhook Header Auth fields also appear empty. That is a separate incomplete configuration. Please distinguish it from the variable-reference validation error.

Source: activepieces/activepieces