25 questions
0
votes
1
answer
87
views
Python Supabase: Unable to update user password
I'm trying to reset the password of an already registered user, which is currently not authenticated. I wrote a simple Python script which is based on:
defining a supabase client object
sending a ...
0
votes
0
answers
103
views
How to setup supabase sever client properly
In my backend(FastAPI) I'm using supabase to send OTPs, update tables. for this I have this server client.
from supabase import create_client, Client
from app.core.config import settings
class ...
0
votes
2
answers
877
views
Supabase unable to find the bucket, even though its present
Stacktrace:
File "C:\Users\kanwa\AppData\Roaming\Python\Python313\site-packages\storage3_sync\file_api.py", line 51, in _request
raise StorageException({**resp, "statusCode": ...
0
votes
0
answers
599
views
timeout issue on supabase rpc calling a function to refresh materialized view
im working on a supabase x python projet and need to run a REFRESH MATERIALIZED VIEW CONCURRENTLY call via my python code. I believe the only way to do this is via supabase rpc on a function.
this is ...
0
votes
0
answers
209
views
Flask and supabase form
My client asked me to create a Flask backend using Supabase as the database, here's the problem:
Form data: {'employee': 'Alexandre Martins', 'company': 'test', 'area': 'test', 'sector': 'test', 'city'...
1
vote
0
answers
242
views
supabase storage pyhon can't upsert or handle exceptions
I'm trying to upload a file in supabase storage, but it seems that if a file is already there then I get an exception StorageException "The resource already exists". It happens despite the ...
1
vote
2
answers
2k
views
Supabase with JWT auth from Python client doesn't work with RLS
I have a problem with Supabase that is related to RLS.
In my Python backend, I set up the supabase client and get the user based on the JWT jwt passed by the frontend:
user = supabase.auth.get_user(...
1
vote
0
answers
916
views
Supabase Dashboard error (self-hosting): "Failed to create user: User not allowed", when i try to create a new user
When I try to create a new user I receive the following error, does anyone know why it happens?
I'm new to supabase and don't have much experience.
supabase dashboard error
In the .env file, the only ...
1
vote
2
answers
411
views
Is this a Python Rich's feature or a bug?
I'm making an app in Python using Supabase and Rich.
Everytime I make a request to the Supabase API, Rich will print some kind of log, and I don't know if this is a feature that I can disable or a bug....
1
vote
1
answer
3k
views
ModuleNotFoundError: No module named 'supabase' after having pip installed
I'm getting a:
ModuleNotFoundError: No module named 'supabase'
error despite having pip install supabase.
Also tried with supabase-py but didn't change anything
Using venv and bot packages appear ...
1
vote
1
answer
1k
views
Supabase Postgres API Triggered Function Returns NULL result for Subqueries
I have created a trigger on a table. When the trigger is activated, the trigger will call a process to pull down JSON data from Salesforce. Salesforce periodically expires their API key and I have ...
1
vote
1
answer
3k
views
How to upload file to supabase storage with python api?
I am working with a project which needs to use python to store the png file into supabase storage. But I do not know how to do that. Can anyone please help me?
I actually got a bucket in my storage. ...
1
vote
1
answer
1k
views
httpx.ReadTimeout on Range filter on Supabase-py
I have 375000 items in my table.
I am doing a loop to obtain all id of all items, with API limit set to 20000 items per api call.
After 200000 I always start to get httpx.ReadTimeout: The read ...