-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
wiseflow version
4.0
Expected Behavior
1
Current Behavior
2025-04-03 10:34:38.863 | ERROR | utils.pb_api:read:43 - pocketbase get list failed: Message: Response error. Status code:403
Status: 403
Data: {'data': {}, 'message': 'Only superusers can perform this action.', 'status': 403}
Is Abort: False
Original Error: N/A
Traceback (most recent call last):
File "/app/run_task.py", line 36, in
asyncio.run(schedule_task())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/app/run_task.py", line 20, in schedule_task
tasks = pb.read('focus_points', filter='activated=True')
File "/app/utils/pb_api.py", line 44, in read
raise e
File "/app/utils/pb_api.py", line 36, in read
res = self.client.collection(collection_name).get_list(i, 500,
File "/usr/local/lib/python3.10/dist-packages/pocketbase/services/utils/crud_service.py", line 50, in get_list
response_data = self.client.send(
File "/usr/local/lib/python3.10/dist-packages/pocketbase/client.py", line 116, in send
raise ClientResponseError(
pocketbase.errors.ClientResponseError: Message: Response error. Status code:403
Status: 403
Data: {'data': {}, 'message': 'Only superusers can perform this action.', 'status': 403}
Is Abort: False
Original Error: N/A
Is this reproducible?
Yes
Inputs Causing the Bug
OS
linux
Python version
3.8.5
Error logs & Screenshots (if applicable)
No response