Skip to content

Import flow failure #93

@akanshaaa19

Description

@akanshaaa19

Summary

GitHub Issue Summary

Problem Statement: Unable to import a flow from Setu to BLS account, resulting in an import error.

Expected Behavior: The flow should import successfully and appear in the BLS account as it did previously.

Actual Behavior: The flow exports properly from Setu (size is 63KB) but shows an import error on BLS, resulting in a blank flow configuration.

Error Messages: No specific error messages were provided, but it is indicated that the flow is blank after an attempted import.

Reproduction Steps:

  1. Export the flow from Setu via the provided link.
  2. Attempt to import the flow into the BLS account using Flows > Import Flow.
  3. Check if any notifications for system errors appear after the import attempt.
  4. Review the flow in BLS which shows as blank post-import.

Additional Context: Previous imports of flows have succeeded, and at least two flows attempted today have failed. Further investigation is needed regarding potential issues with language settings or missing referenced collections/templates.

Source

Original message

Hi, for some reason we are not able to import a saved flow from one account to the other. From Setu to BLS account. If you can please check. The flow we are trying to copy over is this one https://setu.glific.com/flow/configure/6907d4f1-db0b-4e72-a4e5-eed1dd279cb4. It exports properly from Setu (size is 63KB), but then shows as an import error on BLS and nothing appears in the flow. We exported a flow last week the same way and it worked. And we tried with two flows today but both did not work for some reason.

Full thread transcript

avanti0872_62582: Hi, for some reason we are not able to import a saved flow from one account to the other. From Setu to BLS account. If you can please check. The flow we are trying to copy over is this one https://setu.glific.com/flow/configure/6907d4f1-db0b-4e72-a4e5-eed1dd279cb4. It exports properly from Setu (size is 63KB), but then shows as an import error on BLS and nothing appears in the flow. We exported a flow last week the same way and it worked. And we tried with two flows today but both did not work for some reason.

Glific AI doc bot (bot): Hi there! Thanks for flagging this.

I do not have sufficient info to answer this question. <@&1383715800632004648>, can you please chime in here?
Meanwhile, could you share the flow name and the exact import error text/screenshot from BLS?

Quick checks you can try:

  • Ensure you exported the JSON and are importing it via Flows > Import Flow in BLS, as shown here: Import & Export Flows
  • Verify Setu and BLS have the same default and enabled languages; migrations across orgs with different defaults can cause issues, especially with interactive messages/translations
  • If the flow calls subflows or references collections/contacts/templates that don’t exist in BLS, you may hit validation errors; create those first or remove those nodes before import
  • Right after attempting the import, check Notifications for any system error and share the details: Notifications for system errors

If helpful, please also share the exported JSON (63KB) so the team can try reproducing the import on our side.

Glific AI doc bot (bot): Was this helpful in resolving your query? Or do you need further support?

Glific AI doc bot (bot): Thanks for letting us know! <@&983219484091383888> has been notified and will assist you shortly.

sangeetamishra._91310: <@598942390539124746> - I have imported the flow and it threw an error and when I configure it the flow comes blank.
Could you please look into this.
https://bls.glific.com/flow/configure/6907d4f1-db0b-4e72-a4e5-eed1dd279cb4

priyanshusingh3026: checking

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions