I’m fairly new at bubble, and using the Canvas framework. I’m getting this error when using the Canvas signup module configured to do email verification. The slug creation fails. How do you troubleshoot this to see what may be going wrong?
Go to the page where this workflow runs. Open it by clicking preview on the editor mode so you’ll be already on the debug_mode (or you can just enter on the page and add “?debug_mode=true” at the end of the url parameter.
Select step-by-step option on the debugger and trigger your workflow (for instance, if its starts when a button is clicked, just click on the button).
You’ll then be able to run each step of your workflow. Go to the step where a slug is created and check the values, so you’ll be able to better understand whats happening and also review it together with the other steps.
Or you can just go to your workflow tab, select the event, then select the step you want to inspect (create slug) and click on “add a breakpoint in debug mode”.
Then open the app with debug mode on and run the workflow, it’ll go directly to the selected step so you can investigate whats happening.
Your server log screenshot says that an action condition failed. What condition do you have on the “set slug” action in your workflow?
could be a duplicate in the slug - not sure if bubble handles that automatically or not (I’ve always assumed not and built the slug to be unique)
This is handled by Bubble automatically by appending a dash and number at the end of duplicated slug.
@romanmg is right — check the condition
@mitchbaylis — slug is always unique per data type
Thanks for all the input. It appears that the slug’s not the issue. I’m using Canvas’s login module, and the email verification is not sending an email. After troubleshooting, it looks like the API connector is not calling the back end workflow. I can trigger it directly using a “schedule workflow” call. The one on the right works. The one on the left is the step that came with Canvas. It should work out of the box. Any thoughts?