https://supabase.com/ logo
Join Discord
Powered by
# flutter
  • j

    Jake378

    12/07/2022, 5:32 PM
    @everyone fast join >< https://discord.gg/tiktokhub
  • j

    Jake378

    12/07/2022, 6:09 PM
    @everyone fast join >< https://discord.gg/tiktokhub
  • i

    iampopal

    12/08/2022, 7:15 AM
    Hello
  • i

    iampopal

    12/08/2022, 7:15 AM
    Using flutter email login we are having issue
  • i

    iampopal

    12/08/2022, 7:16 AM
    The problem is we when we login it shows
  • i

    iampopal

    12/08/2022, 7:16 AM
    Type null is not subtype of string
  • i

    iampopal

    12/08/2022, 7:16 AM
    Sign up works total works fine
  • i

    iampopal

    12/08/2022, 7:17 AM
    And sign in for old created users has this issue
  • i

    iampopal

    12/08/2022, 7:17 AM
    Any quick fix for this
  • v

    Vinzent

    12/08/2022, 8:44 AM
    @anggoran @iampopal how do you think can we help you, if you provide minimal explanation? Please provide full stack trace and code to reproduce.
  • a

    anggoran

    12/08/2022, 9:01 AM
    my bad, I am really sorry for that... --- For invalid refresh token during Supabase.initialize, it randomly happens. Happened when I already log out and re-run the debug ver app. But the behavior is it stop my code from running instead of just returning the error, which means it's only debug problem, in release mode all good. --- For deeplink issue, the app_links can detect my app url scheme, but return null without any error
  • a

    anggoran

    12/08/2022, 9:03 AM
    Again I'm sorry cause I have no idea why did these happen... It's okay to ignore mine..
  • v

    Vinzent

    12/08/2022, 9:05 AM
    So you don't have a stack trace for the refresh token issue?
  • a

    anggoran

    12/08/2022, 9:06 AM
    The stack trace info is just "Invalid refresh token, status 400"
  • a

    anggoran

    12/08/2022, 9:06 AM
    and it redirects me to errors_patch.dart, with no code inside
  • v

    Vinzent

    12/08/2022, 9:10 AM
    What do you mean with "redirects me to". Do you have a screenshot?
  • a

    anggoran

    12/08/2022, 9:15 AM
    Wait let me try to reproduce
  • i

    iampopal

    12/08/2022, 9:16 AM
    @Vinzent this is the stack trace of problem
  • i

    iampopal

    12/08/2022, 9:16 AM
    We are just calling the Sign in with email and password way
  • v

    Vinzent

    12/08/2022, 10:02 AM
    Okay will look into that later today. I saw you asked the same question #1006358244786196510 . Please don’t post the same messages in multiple channels. Please post your stack trace there as well and continue there.
  • a

    anggoran

    12/08/2022, 10:05 AM
    Copy code
    [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: AuthException(message: Invalid Refresh Token, statusCode: 400)
    #0      GotrueFetch.request
    package:gotrue/src/fetch.dart:99
    <asynchronous suspension>
    #1      GoTrueClient._callRefreshToken
    package:gotrue/src/gotrue_client.dart:588
    <asynchronous suspension>
    #2      main
    package:geodisapp/main.dart:34
    <asynchronous suspension>
    Restarted application in 475ms.
    @VinzentYesterday this happened during Supabase.initialize. For the ss of errors_patch I cannot reproduce, but it said "source 'dart:core-patch/errors_patch.dart': "
  • a

    anggoran

    12/08/2022, 10:06 AM
    But it happens randomly
  • i

    iampopal

    12/08/2022, 1:09 PM
    Sure, we are really worry about this issue
  • r

    rlee128

    12/08/2022, 4:26 PM
    For some reason my views are no longer working. When I try in app or in the SQL Editor and it always now returns no rows when I know their are rows. If I do the select manually it shows the rows.
    Copy code
    create or replace view user_feed as select user_public.is_verified, user_p.username as shared_username, profile_p.url as shared_profile_photo, profile_p.file_path as shared_profile_path, user_public.username, post.shared_mentions, profile_photo.url, profile_photo.file_path, post.shared_post_created_at, post.is_shared_location, post.shared_post_text, post.shared_post_owner, post.shared_post_id, post.created_at, post.updated_at, post.post_text, post.has_file, post.file_count, post.files, post.is_shared, post.mentions, post.has_shared_files, post.shared_files, post.is_pinned, post.is_location_post, post.location_data, post.shared_location_data, post.to_expire, post.id, post.post_owner, shared_count.reaction_count as share_count, liked_count.reaction_count as like_count, commented_count.reaction_count as comment_count from post 
    inner join user_public on user_public.id = post.post_owner
    inner join profile_photo on profile_photo.id = post.post_owner
    inner join user_public as user_p on user_p.id = post.shared_post_owner
    inner join profile_photo as profile_p on profile_p.id = post.shared_post_owner
    inner join reactioncount as shared_count on shared_count.parent_id = post.id and shared_count.reaction_value = 'share'
    inner join reactioncount as liked_count on liked_count.parent_id = post.id and liked_count.reaction_value = 'like'
    inner join reactioncount as commented_count on commented_count.parent_id = post.id and commented_count.reaction_value = 'comment';
  • r

    rlee128

    12/08/2022, 4:26 PM
    This is one of the views
  • r

    rlee128

    12/08/2022, 4:38 PM
    @Vinzent or @Tyler
  • r

    rlee128

    12/08/2022, 6:01 PM
    I am also no able to upload video files. No error they just never hit the bucket
  • g

    garyaustin

    12/08/2022, 9:12 PM
    Please don't shout people to get their attention unless they ask you to. No one is obligated to monitor this site and if the person is around I'm sure they will help. You also just asked what seems like a totally unrelated question. Please take that to @help and not here.
  • r

    rlee128

    12/08/2022, 10:33 PM
    How are they unrelated when all of this was working and now it’s not. Plus asking in #1006358244786196510 is overlooked and questions go unanswered. As I am using flutter this is the most appropriate place
  • a

    anggoran

    12/08/2022, 11:01 PM
    Invalid Refresh Token at Initialize