You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GraphQL request:2:3
1 | mutation AddSpottingEntry($data: EventInput!) {
2 | addEvent(input: $data) {
| ^
3 | ok
Traceback (most recent call last):
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/graphql/execution/execute.py", line 528, in await_result
return_type, field_nodes, info, path, await result
^^^^^^^^^^^^
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 568, in _async_resolver
await _check_permissions_async(_source, strawberry_info, kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 525, in _check_permissions_async
raise PermissionError(message)
PermissionError: You shall not pass. Contact an admin for more info.
Stack (most recent call last):
File "/usr/local/lib/python3.11/threading.py", line 995, in _bootstrap
self._bootstrap_inner()
File "/usr/local/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
self.run()
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
return old_run_func(self, *a, **kw)
File "/usr/local/lib/python3.11/threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 83, in _worker
work_item.run()
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/asgiref/sync.py", line 490, in thread_handler
return func(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry_django_plus/middlewares/debug_toolbar.py", line 149, in process_request
response = super().__call__(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/debug_toolbar/middleware.py", line 49, in __call__
return self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry_django_plus/middlewares/debug_toolbar.py", line 125, in _get_response
return asyncio.run(_inner_get_response())
File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry_django_plus/middlewares/debug_toolbar.py", line 120, in _inner_get_response
return await self._original_get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 154, in __acall__
return await f(*args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/utils/deprecation.py", line 150, in __acall__
response = response or await self.get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/sentry_sdk/integrations/django/asgi.py", line 99, in sentry_wrapped_callback
return await callback(request, *args, **kwargs)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry/django/views.py", line 254, in dispatch
return await self.run(request=request)
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry/http/async_base_view.py", line 176, in run
result = await self.execute_operation(
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry/http/async_base_view.py", line 115, in execute_operation
return await self.schema.execute(
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry/schema/schema.py", line 247, in execute
result = await execute(
File "/root/.local/share/virtualenvs/code-_Py8Si6I/lib/python3.11/site-packages/strawberry/schema/execute.py", line 153, in execute
process_errors(result.errors, execution_context)
ERROR:strawberry.execution:You shall not pass. Contact an admin for more info.
The text was updated successfully, but these errors were encountered:
Error logs as follows:
The text was updated successfully, but these errors were encountered: