-
Notifications
You must be signed in to change notification settings - Fork 19
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
calling .eq.update crashes it? i'm sorry, I don't really know if i did something wrong #41
Comments
Also, I tried calling sign_in_anonymous() but i just got the error "invalid_request >> refresh token required" |
I can check that later, eventually the endpoint returns an Array if there are multiple rows updated instead of one. Maybe I'm mapping that wrongly |
I think that anonymous login is not supported anymore, or "fixed" since it used the anonymous key but without identifying any user (which is not secure anyway). |
okay, will do! |
For the first issue, I didn't have permission to update the table since my policies were set incorrectly, so the returned array was empty. I have them set correctly now. |
Now I can't upload images 😭 , the error is just empty |
I am calling |
@ShatReal the error could be empty because you didn't authenticate before uploading a file var task:AuthTask= yield(Supabase.auth.sign_in(user_mail, user_pwd), "completed")
var upload : StorageTask = yield(Supabase.storage.from("games").upload("icon.png", "res://icon.png"), "completed") or use signals |
About the empty error: that's an issue coming from supabase backend, sadly : |
So my code is
This should update it, right? Anyway, it crashes the game on the database_task _on_task_completed function. Apparently result_body is set to an array instead of a dictionary? I don't know how that's possible.
The text was updated successfully, but these errors were encountered: