if I delete a block in the prefect cloud gui, I ca...
# ask-community
s
if I delete a block in the prefect cloud gui, I cannot create another block of same type with same name. cli usage
prefect block ls
does show that the block is no-longer there. Any idea what is happening there?
1
Tried a force refresh in browser but it did not help
j
Hey! I tried to reproduce and was able to create, delete and recreate a block with the same name Is there more information you can share for a reproduction?
s
it was a dbt cli profile block
an old version of one as I also had done
prefect block register prefect_dbt
j
what's your workspace id? and the name/type of the block you're trying to create? (feel free to DM it to me if you're more comfortable)
Thanks for raising this! this looks to be a UI bug with validation. I filed an issue here: https://github.com/PrefectHQ/prefect/issues/9850 You're right that blocks names should be unique within the combo of a workspace + that block type. In the meantime you may need to name your blocks something globally unique to your workspace
and it's already been fixed, should be out with the next releases for OSS/Cloud
👍 1
🙌 1
s
HI @Jake Kaplan I saw this was merged and is in 2.10.13 so I was expecting it to work on cloud - unfortunately still have same issue Is it just a time lag thing or does the fix work?
j
just following up here, this should be live now in Cloud