I am using Label Studio version 1.20.0, and I enabled organization webhooks as instructed so that I can use delete project and create project:
LABEL_STUDIO_ALLOW_ORGANIZATION_WEBHOOKS=1
However, I get the following error:
[2025-07-16 10:38:42,794] [core.utils.common::custom_exception_handler::98] [ERROR] 5404e91c-2764-4af9-859d-0929913164a6 Project not found.
Traceback (most recent call last):
File "/label-studio/.venv/lib/python3.12/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/label-studio/.venv/lib/python3.12/site-packages/django/utils/decorators.py", line 48, in _wrapper
return bound_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/label-studio/.venv/lib/python3.12/site-packages/rest_framework/generics.py", line 246, in post
return self.create(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/label-studio/.venv/lib/python3.12/site-packages/rest_framework/mixins.py", line 19, in create
self.perform_create(serializer)
File "/label-studio/label_studio/webhooks/api.py", line 71, in perform_create
raise NotFound('Project not found.')
rest_framework.exceptions.NotFound: Project not found.
Is there any way to fix this?