https://supabase.com/ logo
Join DiscordCommunities
Powered by
# help
  • g

    garyaustin

    02/15/2022, 9:18 PM
    image not changing
  • y

    ymahmo

    02/15/2022, 9:50 PM
    Hi, has anyone run into this when signing up a user "message": "Database error saving new user", Im using the example from the docs for phone sign up, and also double checked all api keys for twillio and not sure why this isn't saving the user
    s
    • 2
    • 5
  • c

    city41

    02/15/2022, 10:36 PM
    I have noticed that some of my rpc calls are not returned compressed, making the return result extremely large and slow to return. It looks like all of my other rpc calls and standard queries are all compressed with brotli (br). Any ideas why some rpc calls are not being compressed? One thing that seems to stand out is these rpc's return tables and I am paginating and ordering the result on the client using
    range()
    and
    order()
    . Here is the rpc: https://github.com/city41/smaghetti/blob/main/database/migrations/1640448225339_getAllPublishedLevelsFunction.js and here is how it is called using the supabase-js client: https://github.com/city41/smaghetti/blob/main/src/components/levels/Levels2Page/ConnectedLevels2Page.tsx#L61
    • 1
    • 1
  • u

    user

    02/15/2022, 11:47 PM
    hey guys, how can i delete a row from the database?
  • u

    user

    02/15/2022, 11:47 PM
    im using react
  • a

    Anthony

    02/16/2022, 1:43 AM
    Is magic link not working? suddenly not getting any emails into Gmail
  • a

    Anthony

    02/16/2022, 3:47 AM
    Figured it out, was an issue with cloudflare.
  • r

    RB_Gaura

    02/16/2022, 4:52 AM
    what exactly does download operations mean? are downloads from database to client or client to database
  • x

    Xystrol

    02/16/2022, 8:27 AM
    hey there, got a SELECT issue : with GET, I get the values, but with POST, it adds me an empty row. Any idea ?
    s
    • 2
    • 2
  • s

    silentworks

    02/16/2022, 10:07 AM
    Database error saving new user
  • s

    silentworks

    02/16/2022, 10:08 AM
    SELECT issue
  • m

    Michie

    02/16/2022, 12:10 PM
    I'm have having issues with Supabase if I am using 2 projects in one app. No issues at local but if deployed via Vercel or Heroku, it has an
    error: supabaseURL is required.
    Any idea why this is happening when deployed? Thx
    s
    • 2
    • 33
  • y

    ymahmo

    02/16/2022, 1:20 PM
    are your env variables set correctly in vercel/heroku?
  • m

    Michie

    02/16/2022, 1:21 PM
    Yes. I made sure they have difference variable names and was set correctly. ๐Ÿ™‚
  • y

    ymahmo

    02/16/2022, 1:23 PM
    what are the names of the variable stored as? If you're using react and dont have REACT_APP before the variable id try adding that and see if it recognizes it
  • m

    Michie

    02/16/2022, 1:25 PM
    Currently using Nuxtjs Env variables: SUPABASE_URL SUPABASE_KEY SUPABASE_URL_ADMIN SUPABASE_KEY_ADMIN
  • n

    Noah

    02/16/2022, 1:29 PM
    Syntax for Extension Types: I'm using the POSTGIS extension to add geometric types to my database but I'm not sure what the syntax is for creating new rows. I've tried both
    {"x": 1, "y": 1}
    and
    POINT(1,1)
    as values but I always get the following error:
    Copy code
    postgrest_py.exceptions.APIError: {'message': 'invalid input syntax for type point: "<THE VALUE>"', 'code': '22P02', 'details': None, 'hint': None}
    It's the same in the web interface
    g
    • 2
    • 2
  • s

    silentworks

    02/16/2022, 1:50 PM
    Error supabaseURL is required
  • i

    itsnotyalc

    02/16/2022, 2:10 PM
    Is there any way to declare a redirectUri for auth? I can't set just one main redirectUri because I have multiple domains in production. ie: x.example.com should redirect to x.example.com, not example.com
  • g

    garyaustin

    02/16/2022, 5:07 PM
    postgis format
  • a

    Anthony

    02/16/2022, 5:40 PM
    Anyone encountered this on magic link via mobile? null is not an object (evaluating 'c.email')
  • r

    Rutik

    02/16/2022, 7:31 PM
    my table has a column that is type:text and defined as array. but it's default value is null. I am not able to change it to [] . the issue is like this https://github.com/supabase/supabase/issues/4150
  • u

    user

    02/16/2022, 9:15 PM
    anyone here had issues with Supabase returning stale response after a SPA re-renders? (e.g.: you update a list to the DB and the re-render brings the list without the new resource. Once you force-reload, things work as expected)
  • i

    imtiaz

    02/16/2022, 10:05 PM
    if my web app requires a superuser to create everyone's account, whats the right way to approach this using supabase? if I rephrase, how do I create account in supabase without signing in
  • a

    Albert [tox/cis]

    02/16/2022, 11:24 PM
    Hello
  • a

    Albert [tox/cis]

    02/16/2022, 11:24 PM
    I've got a question and I can't seem to find an answer to it. Is there a way to apply a policy to a view?
  • o

    osaxma

    02/16/2022, 11:43 PM
    Not directly. PostgREST docs has the following good explanation: > Views are invoked with the privileges of the view owner, much like stored procedures with the SECURITY DEFINER option. When created by a SUPERUSER role, all row-level security will be bypassed unless a different, non-SUPERUSER owner is specified. > > ref: https://postgrest.org/en/stable/schema_structure.html#views In short, you need to create the view with a non-SUPERUSER so the RLS policies of the underlying tables are enforced.
  • o

    osaxma

    02/16/2022, 11:45 PM
    Another option is to apply a policy manually in the
    WHERE
    statement when creating the view (e.g.
    WHERE auth.uid() = id
    ).
  • a

    AshwaqAzan

    02/17/2022, 8:29 AM
    Hello, Iโ€™m wondering if itโ€™s possible to add charts like pie chart to Flutterflow app?
    s
    l
    • 3
    • 3
  • r

    Rutik

    02/17/2022, 8:42 AM
    How do you create a column of arrays, like every row in column has an array of objects?
    s
    • 2
    • 18
1...222223224...316Latest