Make a request when loading the page

Hello, I have a path with a parameter: ‘domain.com/id

image

This ID is dynamic

image

and I use it to load information when the page starts. However, when I check the workflow, it seems to arrive as null or undefined.

image

What is the correct way to do this?

image

You should do On page load instead of On mounted probably.

1 Like

I’m not sure what’s going on, but I’ve been getting this error as well on workflows that previously worked perfectly and have not changed

Maybe the inner workings of the data fetching has changed. Or you changed it inadvertedly. This error signs that at the time of the Database | Select running, you’re passing a uuid that is undefined into it. For this specific case, you should delay the request until the parameter of the page is defined, e.g on page load.

Thanks! It works now.

Try to biding data uuid like “ 123e4567-e89b-42d3-a456-556642440000”