Skip to main content

Troubleshooting your Postscript integration

Fix common Postscript issues in Alia, including publish errors, undelivered texts, welcome flows that don't fire, and missing discount codes.

Written by Rob D

Use this article to fix the most common issues with Alia's Postscript integration. Start with the issue that matches what you're seeing.

Publishing fails with "Postscript didn't accept the connection to your store"

You see this message when you publish an on-site opt-in (OOI) popup or mark it as ready: "Postscript didn't accept the connection to your store. Check that the API key is still valid in Postscript, then disable and reconnect the integration."

Cause: Postscript checks every OOI popup before it publishes. If your Postscript integration is missing or its API key is no longer valid, the check can't run, so the popup can't publish.

Fix:

  1. In Postscript, go to API Keys, select Create Security Key Pair, and copy the Private Key.

  2. In Alia, go to Integrations and disable the Postscript integration.

  3. Reconnect Postscript using the new Private Key.

  4. Publish the popup again.

For more on how publishing works with OOI, see Using Postscript Onsite Opt-In (OOI) with Alia.

Publishing fails because a screenshot is too large

You see this message when you publish an on-site opt-in (OOI) popup or mark it as ready: "A screenshot of this popup is larger than the 5MB Postscript accepts. Use smaller images in the popup, then publish again."

Cause: Before an OOI popup publishes, Alia takes screenshots of it on mobile and desktop and sends them to Postscript, which checks your consent text. Postscript accepts screenshots up to 5MB, and large images in your popup can push them over.

Fix:

  1. In the popup editor, select the pencil (edit) icon on a large image to open Crop and resize image.

  2. Make the image smaller using Width and Height or the size slider, and keep Convert to WEBP (recommended) checked. The dialog shows an estimated file size before you select Upload.

  3. Repeat for any other large images in the popup.

  4. Publish the popup again.

For more on working with images, see Editing Your Current Popup.

Publishing fails with another message from Postscript

Cause: Postscript turned down your popup's screenshots for a reason not covered above. When this happens, Alia shows Postscript's own message so you can see what it needs.

Fix: Follow what the message says, then publish the popup again. If the message isn't clear, start a chat from inside the Alia app and include the message you see. If you can't resolve it, you can publish anyway. See Publishing when Postscript can't approve your popup below.

Publishing fails because your consent text doesn't match

Cause: Postscript compares your popup's SMS consent text with the wording it has on file for your store. Typed-out or edited consent text often doesn't match.

Fix:

  1. In the popup editor, make sure the consent text uses the sms_consent variable instead of typed-out text, and that it's visible.

  2. Publish the popup again.

For a popup in Spanish or French, use the sms_consent_es or sms_consent_fr variable instead of translating the text yourself, so Postscript can approve it. See Edit/translate SMS compliance text for the steps.

For another language, if your consent text is visible but translated, choose Ignore and publish anyway. See Publishing when Postscript can't approve your popup below.

Publishing fails because Postscript couldn't finish checking

Cause: Postscript didn't finish checking your popup. This is on Postscript's side.

Fix: Wait a few minutes, then publish the popup again.

Publishing when Postscript can't approve your popup

If Postscript can't approve your popup and you can't fix the issue yourself, choose Ignore and publish anyway in the error message. The popup goes live without Postscript's approval, and the Alia team is told so they can follow up with you.

This option isn't available if your Postscript integration isn't connected. Connect it first. See Publishing fails with "Postscript didn't accept the connection to your store" above.

Signups from my popup don't appear in Postscript

Shoppers sign up through your Alia popup, but they never show up in Postscript.

Cause: Either the Postscript integration isn't connected in Alia, or, for on-site opt-in (OOI) popups, Postscript's script isn't loading on your storefront. Popups without OOI send signups straight from Alia to Postscript, but OOI popups also need Postscript's script on your store.

Fix:

  1. In Alia, go to Integrations and confirm Postscript shows as connected. If it doesn't, see Integrating Alia with Postscript.

  2. For OOI popups, confirm the Postscript SDK is installed on your store, ideally in your theme's theme.liquid file. If you recently changed or updated your theme, the SDK may have been removed. To reinstall it, see Postscript's developer documentation.

  3. To check that the SDK loads without errors, open your store, then open your browser's developer tools and check the Network tab.

If the SDK still won't load, contact your Postscript account manager.

Texts aren't sending, or subscribers don't show as Subscribed

Shoppers sign up and appear in Postscript, but they don't get texts or don't show as Subscribed.

Cause: Your Postscript account or sending number hasn't finished verification and setup. Postscript can collect subscribers before then, but it blocks outbound texts, and shoppers aren't officially opted in until it's complete.

Fix:

  1. In Postscript, check your dashboard for Action Required banners about carrier registration or brand verification, and complete them.

  2. In your Postscript account settings, confirm your sending phone number or short code is verified and active. Toll-free numbers need carrier verification, which can take time.

  3. Make sure your Postscript account setup is complete, including TCPA compliance, legal opt-in language, and program details. New accounts may have a review period before sending turns on.

My Postscript welcome flow isn't firing

Shoppers sign up and appear in Postscript, but your welcome automation doesn't start for them.

Cause: The automation's trigger doesn't match how Alia sends subscribers, a filter is excluding Alia signups, or the automation isn't active. If no texts are sending at all, start with the section above.

Fix:

  1. In Postscript, open your welcome automation and confirm it's Active. Paused and draft automations don't fire.

  2. Check the trigger. For OOI popups, trigger the automation on the "subscriber created" event. For popups without OOI, trigger it on the keyword you chose when you connected Postscript to Alia.

  3. Review the automation's audience filters. For OOI popups, remove keyword and Reply-Y filters, since OOI doesn't use keywords. To limit the flow to Alia signups, filter on the alia_ooi property instead. See Using Postscript Onsite Opt-In (OOI) with Alia for the full list of properties.

I can't find where to edit the first welcome text

Cause: With onsite opt-in, Alia sends the first welcome text, so you edit it in the popup editor instead of in Postscript.

Fix:

  1. In the popup editor, go to the SMS step and select the submit button.

  2. Under Postscript settings, edit the Welcome message field.

If you're on the popup's Integration settings tab, select Edit welcome message to jump straight to it.

Welcome message field in the Postscript settings for the SMS submit button.

💡 Note: Only the first welcome text lives in Alia. You still manage later automations and campaigns in Postscript.

The discount code is blank in my Postscript texts

The discount code is empty or missing in texts Postscript sends.

Cause: Alia saves the visitor's discount code to Postscript as the aliaoffer property when they claim a reward. If your first text goes out before then, the property is still empty. A misspelled property name has the same effect: it's aliaoffer, with no underscore.

Fix:

  1. In your Postscript text, check that you're using the aliaoffer merge tag under subscriber properties.

  2. If the reward comes after the phone step, select the phone form in the popup editor and turn off Immediately subscribe users to CRMs under Advanced form settings. Alia then waits for the visitor to claim the reward before sending them to Postscript, so the code is already there when your first text goes out. OOI forms always subscribe right away, so this setting doesn't apply to them.

  3. In Postscript, set a Backup Code in your property settings, so shoppers still get a working discount if the dynamic code is empty.

Popups made with Build a popup also send the code as alia_offer, set under When form is submitted. If your texts use alia_offer, make sure it's included on both your email and SMS submit buttons.

alia_offer property added to the SMS submit button.

💡 Tip: Test in the popup preview and check that aliaoffer fills in on your test subscriber's profile before you go live.

Still have questions?

Start a chat from inside the Alia app, or use the chat in our Help Center.

Did this answer your question?