-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Error in $: not enough input' on .update() #30
Comments
Temporary workaround is to use .insert() with upsert=True |
Yes noticing this too. Is upsert actually working or is it simply inserting a new row? From what I've noticed it's inserting new rows so would be helpful to get confirmation thats what you are seeing. Perhaps request headers/jwt is misconfigured somehow.. |
@fedden it updates the row when I use insert with upsert=true. To be clear, I don't think partial updates work. Think PUT not PATCH |
It would be nice to have this documented somewhere. Without this issue there is no way to know how to update a row. |
Hey @remybroun @rphly, We have tested this issue and it seems to work fine now. We are closing this for now but please feel free to let us know if you're still facing any issues. Thanks! |
I am still facing the same issue :(
|
Make sure to update your supabase version to the latest and tell us if you still face the issue please 😊 |
Hello @dreinon - I am running into the same issue again despite having the latest supabase version. I am trying to update a single column using id as the matching value. My id is stored in uuid format and is generated using uuid_generate_v4()
|
I recently faced this issue. If anyone comes across this again this was how I solved it: |
@smandava98 how were you able to use supabase in a python project without using supabase-py ?? |
You can try pip install supabase and you will have no errors)))) |
if you are using supabase_py or supabase-py instead use supabase alone to create client it is working for me any more issues add a comment |
Bug report
To Reproduce
Expected behavior
Update and return me the row.
Actual behaviour
{'data': {'message': 'Error in $: not enough input'}, 'status_code': 400}
System information
The text was updated successfully, but these errors were encountered: