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
2
answers
878
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
1
answer
114
views
Supabase RLS policy issue
I am trying to get or create some data in Supabase. I am using Python(>= 3.9) Fast API and vercel for deployment. The issue is:
{
"error": "Failed to get history: {'code': '42501'...
1
vote
0
answers
819
views
Supabase Auth callback asking for code_verifier and auth_code again after successful authentication
I'm encountering a really weird bug with Supabase authentication in my NextJS 13 app (using App Router) + FastAPI Python backend. Even after a successful sign-in/sign-up process, I'm getting an error ...
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 ...
-4
votes
1
answer
1k
views
How do I perform a join supabase statement in python code
Below is a code where I am trying to perform a join operation. I have a table citizen which has a foreign key location_id from table location. Now i want to retrieve the the name of location when of ...
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 ...
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
votes
1
answer
1k
views
Error : Supabase url is required , Python
I've been faced SupabaseException: supabase_url is required.
Here are codes
import os
from supabase import create_client, Client
url: str = os.environ.get('https://mine.supabase.co')
key: str = os....
0
votes
1
answer
2k
views
update user authentication details in supabase
I try to update user authenticate details in supabase using flask.
supabase_client.auth.update_user({"id": email,"password": new_password })
this is the am using to update the ...
0
votes
2
answers
2k
views
End Point API, FastAPI and supabase, sign_in & sign_out user
I'm facing a problem with my backend app, I want to create 3 endpoint API:
/login user
/logout
/getuser
I'm using python FastAPI and supabase, the question is how to create session from my backend ...
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 ...