Set dates to a list of dates

Hi everyone.

I am querying availabilities dates from an api. I would like to know how can I transform them into a list in bubble?

image

That looks like that would work, assuming your API call you have that field set up as date and your custom state is also date (list)

Yes, exactly,
image

image

but it is trowing an error:
image

Is your custom state set up as a date and you told it it’s a list.

If you click the error count at the top right it will give more detail

1 Like

I found the error. It was a list of date_range not a list of date.

1 Like