I have a Shopify app which has several flow trigger and flow action extensions configured. During local development, I was able to trigger the extension and confirmed it’s working as it subsequently invoked my attached flow action url through the workflow step.
Now, once I deployed my app through shopify app deploy and tried to execute the exact same mutation in my development store (which has an active workflow using the same trigger), I get the following error:
I also have a flow trigger callback url setup (Which is just a webhook tester for now), and I can confirm that it is called with correct payload whenever I turn on (activate) my workflow in my dev store. Below is the payload attached for reference, that was received by the callback:
Note: My app has not been published to the Shopify store yet as I haven’t submitted it for review. Could this be the cause of this error?
No
You are mixing development mode and local development and I can’t tell if you mean the same thing above.
Are you trying to test literally the same workflow after you publish (or a copied version)? I would try creating a new workflow because you likely have the draft version of the trigger in that existing workflow. Or at least switch the trigger to something else, and then switch it back.
If that doesn’t work, it might help to share a link to the workflow that doesn’t work
Yeah, I did that recently to try to start everything from scratch (deleting previous triggers and adding new ones with different handles), but was still unsuccessful.
I’ve redeployed with new handles again, and the issue still persist.
Are you sure you haven’t hard-coded or used the wrong API key somewhere? I think we’ve seen this error when partners used the same API key across different environments.
It might help to take a video showing where this works and where this doesn’t work.
We’re encountering the same issue while testing our app on the staging store. The Flow trigger works perfectly on our development store, but on the staging store, we receive a “Errors validating schema:\n Invalid handle ‘ready-to-sync-with-bydesign’.\n” error when invoking the trigger.
We haven’t added or changed any API key configuration between the two stores. The app setup and trigger handle (ready-to-sync-with-bydesign) are identical in both environments.
Could you please help us identify why the Flow trigger handle isn’t being recognized on the staging store?