https://supabase.com/ logo
Join Discord
Powered by
# help
  • p

    pedrodiaz

    05/24/2022, 5:49 PM
    Hello, I have a question, everytime I edit a table in Supabase I usually get an error like these for example
    n
    b
    • 3
    • 23
  • j

    Julien

    05/24/2022, 9:01 PM
    Hello guys, are the backups done on the same server than our working server (where the db is hosted) or another server? Because if our working server die for some reasons, is our db safe?
    n
    • 2
    • 1
  • d

    Devansh

    05/24/2022, 9:51 PM
    Hello, I am encountering this error of “Failed to Fetch” while making any changes to the table. Can you please help me resolve it?
    n
    • 2
    • 1
  • d

    DivineDemon

    05/24/2022, 10:46 PM
    Hello, I am new to supabase. I am trying to create foreign keys but i am not able to. If i create a foreign key from the "Edit Table" option, it says that it is successfully created but it doesn't show in the table. When i try to create it using the "Add Column" option, it gives me an error "Invalid Input Syntax for Bigint:". I tried changing the datatype of the primary keys of all my tables to int2, still the same issue. Can somene help me resolve this.
    n
    • 2
    • 1
  • z

    zavbala

    05/24/2022, 11:42 PM
    What's the rows limit when upload an CSV file?
    n
    • 2
    • 3
  • j

    Jingly

    05/25/2022, 1:34 AM
    Is there a max user password length in supabase? The only thing I've found so far is the max password length for a project (which seems to be 99). I was curious if there was a similar limit for supabase auth users.
    n
    g
    • 3
    • 4
  • a

    AlanK

    05/25/2022, 4:03 AM
    Is there a way I can use Case When statements in a Javascript API query?
    n
    g
    • 3
    • 7
  • j

    jaitaiwan

    05/25/2022, 5:05 AM
    Has supabase changed it's position on schema diffing being the preferred method of keeping schemas up-to-date?
    n
    • 2
    • 1
  • w

    wiesson

    05/25/2022, 7:33 AM
    Has anyone used Vercels Edge functions (I think they are from CF) with the supabase client?
    Copy code
    Error: Dynamic require of "stream" is not supported
        at worker.js:46:22595
        at node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js (worker.js:46:320543)
        at worker.js:46:22757
        at node_modules/.pnpm/cross-fetch@3.1.5/node_modules/cross-fetch/dist/node-ponyfill.js (worker.js:46:338800)
        at worker.js:46:22757
        at node_modules/.pnpm/@supabase+gotrue-js@1.22.15/node_modules/@supabase/gotrue-js/dist/main/lib/helpers.js (worker.js:46:339736)
        at worker.js:46:22757
        at node_modules/.pnpm/@supabase+gotrue-js@1.22.15/node_modules/@supabase/gotrue-js/dist/main/GoTrueApi.js (worker.js:46:341578)
        at worker.js:46:22757
        at node_modules/.pnpm/@supabase+gotrue-js@1.22.15/node_modules/@supabase/gotrue-js/dist/main/index.js (worker.js:46:365534)
    I think the edge function has access to fetch, so neither node-fetch or cross-fetch should be required here.
    n
    s
    • 3
    • 2
  • l

    lanbau

    05/25/2022, 8:34 AM
    hi team. i would like to hide and show columns based on user preferences.. for example Settings - id - name Preferences - show name field: false How can i prevent users from querying the name column based on my preferences?
    n
    r
    g
    • 4
    • 8
  • l

    Lior539

    05/25/2022, 9:48 AM
    > Edge Functions are Experimental until 1 August 2022. There will be breaking changes. Do not use them in Production. Is this a definite release date? Or is it likely this date will be extended?
    n
    b
    • 3
    • 8
  • y

    Yeezy

    05/25/2022, 2:49 PM
    How can i phrase an AND query with supabase
    n
    o
    • 3
    • 5
  • o

    octalpixel

    05/25/2022, 3:32 PM
    Can the Supabase realtime be used to make chat applications for production ? Want to add in app chat , and evaluating Supabase as an option.
    n
    m
    • 3
    • 4
  • v

    Vik

    05/25/2022, 5:05 PM
    What would be the best way to await the check of setUser(session.user) or setUser(null), right now my application has a flicker because the setLoading(false) happens before that check is complete.
    Copy code
    const { user, setUser } = useContext(AuthenticatedUserContext);
      const [isLoading, setIsLoading] = useState(true);
    
      useEffect(() => {
        const { data: listener } = supabase.auth.onAuthStateChange(async (_, session) => {
          session?.user ? setUser(session.user) : setUser(null);
        });
    
        setIsLoading(false);
        return () => {
          listener?.unsubscribe();
        };
      }, []);
    n
    • 2
    • 1
  • g

    Gabriel_

    05/25/2022, 6:00 PM
    The documentation suggests that you should use a secret manager like Hashicorp Vault to manage all the different tokens. Now I wanted to ask how Supabase integrates with the secret manager (How to pass the token without saving it in a .env file).
    n
    • 2
    • 2
  • g

    gustavoeliasexe

    05/25/2022, 6:03 PM
    Hi! I would like to know... what cloud services use Supabase like aws, azure or another? And if it will always be the same
    n
    s
    • 3
    • 4
  • m

    metala

    05/25/2022, 7:10 PM
    I want to try out a self-hosted docker instance of Supabase. What I have noticed is that Kong takes 1GB RAM right off the start. Isn't that a bit too much for just an API gateway?
    n
    b
    • 3
    • 10
  • n

    Needle

    05/25/2022, 8:04 PM
    Hello @theuknowner! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
  • n

    Needle

    05/25/2022, 8:39 PM
    Hello @Embm! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
  • n

    Needle

    05/25/2022, 8:40 PM
    Hello @theuknowner! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
  • v

    vinciarts

    05/26/2022, 12:39 AM
    Hi, I'm making a realtime co-op proj. There're many workspaces. I want to prevent users (in workspace A) from editing another assets in workspace B. How could I do it?
    n
    g
    • 3
    • 5
  • a

    Asaf

    05/26/2022, 12:39 AM
    User not found after delete then create, we deleted an auth user, invite (created) them again however on password reset we are getting 'user not found' from the redirect (#error_code=404&error_description=User+not+found), anyone encounter this issue and can help?
    n
    g
    • 3
    • 4
  • v

    Vik

    05/26/2022, 1:16 AM
    Anyone want to take a stab at my Stack Overflow question regarding OnAuthStateChanged? https://stackoverflow.com/questions/72385641/supabase-onauthstatechanged-how-do-i-properly-wait-for-the-request-to-finish-p
    n
    g
    j
    • 4
    • 25
  • a

    andriusmv

    05/26/2022, 2:12 AM
    hi @magicb
    n
    • 2
    • 1
  • m

    Mattyfaz

    05/26/2022, 4:45 AM
    Hi, using the nuxt/supabase module and trying to implement auth example as provided in the docs: https://supabase.nuxtjs.org/advanced
    Copy code
    javascript
    export default defineNuxtRouteMiddleware((to, _from) => {
      const user = useSupabaseUser()
      if (!user.value) {
        return navigateTo('/login')
      }
    })
    Then on the
    /login
    page I have the following watching for when the user logs in:
    Copy code
    javascript
    watchEffect(() => {
      if (user.value) {
        navigateTo('/');
      }
    });
    This works and I can successfully add auth to my routes. However if I open a new tab and go directly to a protected route it thinks I am not authenticated, therefore sending me to login page, which then identifies I am logged in and redirects me to the index page.
    n
    • 2
    • 2
  • f

    Fangio

    05/26/2022, 6:40 AM
    I get "Failed to connect to [IP]" when trying to connect from DotNet EF Core. My connection string is "User Id=postgres;Password=[MyPassword];Host=[The one listed by Supabase, not sure if I should share this or not];Port=5432;Database=postgres"
    n
    • 2
    • 5
  • v

    Vidski

    05/26/2022, 6:49 AM
    Is there a way to disable self signup and only allow admins to create accounts? Or do I have to write directly to the database using psql connector
    n
    • 2
    • 1
  • b

    BAN

    05/26/2022, 11:58 AM
    Invalid login credentials , 400 bad request I use supabase auth to create users using service key based supabase.js client to sign up users, when users are signed up they get automatically signed in. I have disabled email confirmation in supabase studio dashboard for development purpose. After signup and autologin I logout then if i try to login again with correct credentials it still shows invalid login credentials. I tried and checked the network request for any trailing or unnecessary spaces, the login credentials are correct sent correctly. So can any one help me find what the issue is ? what could be the possible reasons i am getting that invalid login credentials error ?
    n
    s
    • 3
    • 35
  • t

    theuknowner

    05/26/2022, 12:20 PM
    Hello, I have deployed Supabase to a Digital Ocean's droplet. Is there any issue if I use the included Database and not an external? I know about limitations on scaling, but I use it only as a chat module.
    n
    j
    • 3
    • 4
  • u

    __ianjasper

    05/26/2022, 12:38 PM
    I know by default that when you use the supabase client with public api key... you can do joins example is User table -> Account Table
    n
    g
    • 3
    • 11
1...275276277...316Latest