Common issues

This article collects the issues that come up most often while building a flow in the Flow & Paywall Builder, each with its cause and its fix.

A flow won’t preview or publish

Can't publish yet dialog reporting that three cards on the screen still need a product

You may encounter the following errors when you try to preview or publish the flow:

MessageCause and fix
No product selectedA product card has no product. Pick one, or delete the card.
This product no longer exists, This offer no longer existsThe product or offer was deleted from your Dashboard. Pick another one where it’s used, or use Replace in N places on the Missing entry in the Products panel to fix every use on the screen at once.
This product is off this screen, This offer is off this screenA text variable, condition, or action refers to a product that isn’t on the screen’s list, for example after you removed it in the Products panel. Add the product back in the panel, or edit the reference.
Offer requiredoffer_price, offer_billing_period, or offer_full_duration is used with a product that has no offer. Pick an offer for the product, or use a prod_* variable instead.
Product reference is invalidA product reference is malformed. Re-select the product.
Purchase action has no product to buyA Purchase action has no product, either left empty or pointing at a deleted card. In the element’s Interactions tab, set Product to a product or to products.selectedProduct.
Select product action has no product to selectThe card a Select product action pointed at is gone: deleted, moved out of its product group, or on another screen. In the element’s Interactions tab, point the action at a card on this screen.
Flow has no screens, Screen ”…” has no elementsAdd content to the empty screen, or delete it. A flow that carries only remote config content is exempt.
Invalid interaction actionAn action is incomplete: Open URL without a URL, Navigate to screen with no destination, Set variable with no assignment, Custom without an Action ID, Show alert with neither title nor message, Show or Hide with no element, a web-payment Purchase with no Web Paywall URL. Open the element’s interactions and complete or remove the action.
Missing navigation targetA Navigate to screen action points at a screen that was deleted. Pick an existing screen or remove the action.
Missing product target, Invalid product target, Product target on another screen, Ambiguous product target, Select Product inside a componentA Select product action targets a card that was deleted, isn’t in a product group, is on another screen, shares its element ID with an element on another screen, or sits inside a footer or header shared across screens. Point the action at a card in a product group on the same screen, with a unique ID.
Missing selectable groupAn element points at a selectable group that no longer exists. Reconnect it, or recreate the group.
Invalid visibility conditionA conditional visibility rule is incomplete. Complete it in the condition builder.
Broken references, Fix the broken reference before publishing., Fix N broken references before publishing.When you click Publish to Live, the Can’t publish yet dialog lists the conditions that use an element, a state, or a variable that no longer exists, for example after you deleted it or pasted a screen from another flow. Click Go to screen to open the first one. Then open the condition and pick an existing element, state, or variable, or remove the condition.
Condition uses a deleted element or state, Condition uses a deleted variableThe publish failed because a condition uses an element, a state, or a variable that no longer exists. Open the condition and pick an existing element, state, or variable, or remove the condition. Then publish again.
Circular state conditionsThe Disabled conditions of several elements depend on the states of one another in a loop. In the States section of one of these elements, change or remove the Disabled condition that closes the loop.
A formula name under Variables, with an error text such as This variable no longer exists. Pick another one.A formula has an error. In the Variables panel, the row of the formula shows an error icon. Open the variable, and fix the formula as in Troubleshooting.
Formula ”…” has a syntax errorThe formula doesn’t follow the syntax rules: for example, a bracket is missing, a number has a comma, or a function name is unknown. Open the variable, and fix the formula.
Formula ”…” has a wrong number of argumentsA function of the formula has too many or too few arguments. Use the arguments from the lists of number functions and date functions.
Formula ”…” uses a value of the wrong typeThe formula uses a text, a yes/no value, or a date where it needs a number, or a number where it needs a date. Open the variable, and fix the formula.
Formula ”…” uses a deleted valueThe formula reads a variable, an answer, or a product group that isn’t in the flow. Replace the reference in the formula.
Formula ”…” uses a name with two meaningsA variable of the formula has the same name as an element answer or a product field. Rename the variable.
Formula ”…” uses itself in a loopFormulas of the flow read each other in a loop, so the flow can’t calculate them. Remove one of the references.
Set Variable writes the formula ”…”A Set variable action changes a formula. A formula always depends on other values, so an action can’t set it. Select another variable in the action.
Variable ”…” cannot show in an actionA Date variable or a formula is in the title or the message of a Show alert action, in the address of an Open URL action, or in the text value of a Set variable action. These texts can’t show a date or a calculated number on the device. Remove the variable from the action. To show the value, insert it into a text element.
Missing Default Locale ContentAn Open URL action has a URL in another locale but none in the default locale. Add the default URL in the Localizations panel.
Missing product referenceAn older flow uses a product that isn’t registered on the screen. Open the screen and add the product in the Products panel.

Preview the flow in the Adapty app regularly while you build. A flow that can’t publish won’t load there either, and the error message names the issue.

Tip

To find out whether your flow is ready for production, run the flow-audit skill. It checks what publication errors don’t: dead buttons, store compliance, unfinished copy, and translation coverage. For each issue, the report names the element and its screen.

Publishing fails with “Something went wrong” and no details

Something went wrong notification after a failed publish, with the support address and the Request ID to copy

The publish request failed on the Adapty side, not because of your flow. Your live version is unchanged. Wait a few minutes and publish again. If it fails again, copy the Request ID from the notification and send it to support@adapty.io so the team can locate the failed request.

An offer doesn’t apply at purchase

The builder only checks that the offer still exists in Adapty. Whether the discount applies is decided by the store at purchase time: introductory offers depend on the customer’s eligibility, and App Store promotional offers need a valid In-App Purchase Key. Both cases are covered in Product and price discrepancies.

An offer price is empty in the preview

The builder preview can’t reach the stores, so offer_price, offer_billing_period, and offer_full_duration show the variable name in braces instead of a value. They resolve when the SDK renders the flow in your app. To preview the conditions that depend on the offer type, see Preview products and offers.

Publishing fails after entering a shorthand hex color

Enter every color as exactly six hex digits, such as #FFFFFF. The color field accepts a shorter value and never expands it, so a shorthand such as #FFF reaches the SDK configuration malformed and the publish is rejected. Opacity is unrelated — the same value fails at 100% opacity. A four-digit value is the exception that costs the most: it publishes, and renders a color you didn’t pick.

Typography edits don’t reach an element state

Once a state, such as Selected, has its own typography settings, edits to the Default state’s typography — including applying a different text style — don’t affect that state. Edit the state’s typography directly.

Position, size, and spacing controls are missing for an element

The element and its container both use the Free direction. That leaves only one possible position and size: Absolute, with a fixed width and height. Adapty hides the controls for everything else — the Position toggle, the Spacing section, and the Fill and Hug options. To get the controls back, change the element’s Direction to Vertical or Horizontal.

A condition stops matching after you change the Element ID of a quiz option

A condition that compares the option users picked with a value, such as quiz.selectedOptionId = option_1, contains the Element ID of the option as plain text. When you change the Element ID, the builder doesn’t update that text, so the condition stops matching. Set the Element ID of each option before you use it in a condition. If you change it later, update every condition that compares with the old ID.

The builder updates the other references for you: the variables of input fields, group IDs, element states, and progress-bar segments.

A condition or variable resolves to an empty value

The variable picker lists fields from every screen, so a condition or text variable can reference an input the user hasn’t filled in yet. At runtime, such a reference resolves to an empty value. Reference only fields collected earlier in the flow.

The variable of a Number picker is never empty: it equals the default number until users turn the wheel. A condition that evaluates the variable before users reach the picker can match an answer that users never gave.

Users see a custom tag’s Initial value instead of your app’s value

Users see the Initial value of a custom tag in the following cases:

  • Your app passes no value: The code that opens the flow doesn’t pass a value for the tag, or the user hasn’t updated your app to the version that does.
  • The name doesn’t match: The name in your app’s code differs from the tag’s name in the builder. Names are case-sensitive and include the group. For example, if the user group contains a streak tag, the tag’s exact name is user.streak.
  • Another tag in the same text element has no value: If one custom tag in a text element has no value, every tag in that element shows its Initial value. Pass a value for every custom tag in the text element.

The Adapty mobile app passes no values for custom tags, so its preview only shows Initial values. To see the values your app passes, open the flow in a build of your app.

Users see nothing in place of a custom tag

Users see nothing in place of a custom tag in the following cases:

  • Your app passes an empty string: Adapty treats an empty string as a value, so the Initial value doesn’t appear as a fallback. To show the Initial value instead, pass no value for the tag.
  • The tag has no Initial value: To show a fallback when your app passes no value, enter an Initial value for the tag.

A Set variable action doesn’t change the selected product

Which product is selected isn’t a variable you can assign, so Set variable can’t move the selection. Use the Select product action instead.

The flow doesn’t run the actions set for a purchase result

The flow runs the outcome actions of a purchase or a purchase restoration when the store returns the result. At that moment, the user must be on the screen where the purchase started. The flow skips them in the following cases:

  • Your app closes the flow: When a purchase or restoration finishes, your app closes the flow in its callback. To let the flow continue, keep the flow open in these callbacks.
  • A navigation runs before the result: A Navigate to Screen, Navigate Next, Navigate back, or Close Flow action follows Purchase or Restore purchases in the same trigger. That action runs on the tap, so the user leaves the screen before the store returns the result. Move the action into an outcome, such as When succeeded.
  • The user leaves the screen: The user goes to another screen before the store returns the result, for example with a back button.
  • The purchase is a Web Payment purchase: The flow doesn’t receive the result of a Web Payment purchase, so a Purchase action set to Web Payment has no outcomes. When you switch the action to Web Payment, the Flow & Paywall Builder removes its outcome actions.

You can’t make real purchases in the preview in the Adapty mobile app. To test the outcome actions, make a sandbox purchase in a build of your app.

A Purchase button does nothing on Android

On Android, a tap on a Purchase button does nothing if the user taps before Google Play returns the products. After the products load, the button works. On iOS, the same early tap fails the purchase, and the flow runs the When failed actions.

The button never works in the following cases:

  • Google Play doesn’t return the product: Make sure that the product is active in Google Play Console, and that the product in Adapty uses the same Google Play product ID. To review the product in Adapty, see Create product.
  • The products failed to load: In a native Android app, the SDK doesn’t load the products again by default. To retry, return true from onLoadingProductsFailure.
  • Your app passes products to the flow without this one: When your app passes products to the flow, the SDK doesn’t load any from Google Play. Add every product of the flow to that list.
  • An earlier purchase never finished: The SDK ignores new purchases until the previous one finishes. In Observer mode, call onFinishPurchase() after every purchase. In onAwaitingPurchaseParams, always call onPurchaseParamsReceived.

On iOS, if the App Store doesn’t return the product, every tap fails the purchase, and the flow runs the When failed actions. To find the cause, see Products don’t appear.

An image or video won’t upload

A file outside the Flow & Paywall Builder’s media limits won’t upload. Verify the file against the Image and Video requirements:

ElementFormatsMaximum file sizeOther limits
Image.JPG, .PNG, .WEBP20 MB—
Video.MP4, .WEBM50 MB30 seconds maximum; 640×640 pixels minimum

These formats aren’t supported:

  • Animated GIFs and animated WEBPs: To add motion, use a Video element instead.
  • SVG: Export the file as PNG or WEBP. For icons, you don’t upload anything — the Icon element draws from the bundled Tabler Icons library.

A footer renders only on a screen where Vertical scroll is enabled. Enable Vertical scroll in Screen settings > Scroll.