Hello. Getting an error when trying to create a ne...
# prefect-community
j
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
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
Cool. Thanks!
Still seeing the uniqueness constraint violation this morning. I assume it shouldn’t take this long to propagate?
k
Yeah will report
🙏 1
Could you give me tenant id and project name?
j
project is
devel
. Where can I find the tenant id?
k
I think the part in the URL after
<http://cloud.prefect.io|cloud.prefect.io>
should work
j
wheniwork-poc
k
Did you have a lot of flows there? and flow runs? I was able to delete something relatively small
j
Shouldn’t be a lot there
Any luck here?
k
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