https://prefect.io logo
#prefect-community
Title
# prefect-community
j

Josh Paulin

07/18/2022, 7:50 PM
Hello. Getting an error when trying to create a new project with the same name as one I just deleted
Copy code
Traceback (most recent call last):
  File "/Users/joshuapa/.pyenv/versions/3.9.9/lib/python3.9/site-packages/prefect/client/client.py", line 1055, in create_project
    res = self.graphql(
  File "/Users/joshuapa/.pyenv/versions/3.9.9/lib/python3.9/site-packages/prefect/client/client.py", line 464, in graphql
    raise ClientError(result["errors"])
prefect.exceptions.ClientError: [{'path': ['create_project'], 'message': 'Uniqueness violation.', 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}]
k

Kevin Kho

07/18/2022, 9:06 PM
This is due to the delete being a soft delete in the UI but it takes a while to propagate to flows/flow runs/task runs so it can take some time. I will double check the deletion service is on though
j

Josh Paulin

07/18/2022, 9:12 PM
Cool. Thanks!
Still seeing the uniqueness constraint violation this morning. I assume it shouldn’t take this long to propagate?
k

Kevin Kho

07/19/2022, 2:29 PM
Yeah will report
🙏 1
Could you give me tenant id and project name?
j

Josh Paulin

07/19/2022, 2:57 PM
project is
devel
. Where can I find the tenant id?
k

Kevin Kho

07/19/2022, 3:04 PM
I think the part in the URL after
<http://cloud.prefect.io|cloud.prefect.io>
should work
j

Josh Paulin

07/19/2022, 3:05 PM
wheniwork-poc
k

Kevin Kho

07/19/2022, 3:06 PM
Did you have a lot of flows there? and flow runs? I was able to delete something relatively small
j

Josh Paulin

07/19/2022, 3:06 PM
Shouldn’t be a lot there
Any luck here?
k

Kevin Kho

07/19/2022, 6:06 PM
Yeah! It might have been due to some flows scheduling more flow runs and the deletion service couldn’t keep up so someone is turning off the schedules and then the delete should be able to propagate
🙏 1
3 Views