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

    VuNguyen

    11/01/2021, 9:19 AM
    nvm figured it out
  • g

    gaIaxy

    11/01/2021, 11:48 AM
    Hi, I just created a new Supabase project and I want to read some data from the table, but I'm getting a 401 error JWSError JWSInvalidSignature
  • e

    ekko

    11/01/2021, 11:50 AM
    hello. does supabase connection pooling work with third party serverless functions i.e vercel. or just supabase serverless functions?
    s
    • 2
    • 1
  • g

    gaIaxy

    11/01/2021, 12:07 PM
    nvm. I had to delete my old project stuff from localstorage
  • s

    silentworks

    11/01/2021, 12:18 PM
    Does supabase connection pooling work with other serverless providers
  • s

    silentworks

    11/01/2021, 12:19 PM
    Please don't post the same message in multiple channels.
  • c

    chadyj

    11/01/2021, 2:36 PM
    πŸ‘‹ My newly released supabase app received 10's of thousands of signups, and now simple queries are timing out and the app is dead. The app is very straight forward, but it looks like some queries need to be streamlined and optimized. Is anyone knowledgeable in both Supabase and Postgres available for some paid freelance trouble shooting? I'd be really grateful if someone can help out with this and get the app back online. πŸ™
    • 1
    • 1
  • g

    gaIaxy

    11/01/2021, 3:42 PM
    how can I test my supabase database with postman? I have 2 headers: x-api-key and Authorization Bearer , but it's giving me "message": "No API key found in request" error
  • g

    gaIaxy

    11/01/2021, 4:08 PM
    i got it working. headers didn't work so I used params
  • s

    sockenguy

    11/01/2021, 4:44 PM
    I have an issue using supabase and prisma, I have foreign keys which have a int8 type I am trying to fetch my data like this:
    Copy code
    js
    export default async function handler(
      req: NextApiRequest,
      res: NextApiResponse
    ) {
      const snippets = await prisma.snippets.findMany();
      const allSnippets: ISnippet[] = snippets.map((snippet) => ({
        ...snippet,
        id: snippet.id.toString(),
      }));
    
      res.status(200).json({ allSnippets });
    }
    Copy code
    js
    export async function getServerSideProps() {
      const res = await fetch("http://localhost:3000/api/snippet");
      const snippets = await res.json();
    
      return {
        props: { snippets },
      };
    }
    But I get this error:
    Copy code
    error - FetchError: invalid json response body at http://localhost:3000/api/snippet reason: Unexpected token < in JSON at position 0
    error - TypeError: Do not know how to serialize a BigInt
  • s

    sockenguy

    11/01/2021, 4:48 PM
    Btw the videos on this page https://supabase.io/docs/guides/with-nextjs do not work, the console returns a 404, someone should have a look at that.
  • m

    mlusetti

    11/01/2021, 5:01 PM
    Hi everyone... I'm trying supabase local development and cannot "register" nor "invite" new users (myself mainly) ... The confirmation email never goes through ... Anyone can give me a clue ?
    s
    • 2
    • 4
  • c

    chadyj

    11/01/2021, 5:04 PM
    supabase timeout
  • m

    mlusetti

    11/01/2021, 5:05 PM
    The supabase client has gone through an extensive rewrite and my wild guess is that there's no support yet ... like for example there was before with "inbucket"
  • m

    mlusetti

    11/01/2021, 5:06 PM
    How should I "create" users in the local development environment ?
  • m

    mlusetti

    11/01/2021, 5:14 PM
    Does the GOTRUE_MAILER_AUTOCONFIRM params set that there's no confirmation needed? ... No need to invite just do a "signUp()" ?
  • s

    Scott P

    11/01/2021, 6:24 PM
    Unable to register or invite users
  • p

    pedrig

    11/01/2021, 7:14 PM
    Hi πŸ™‚ I have accidentally overridden my database, and usually when this happened i could always jsut go to backups and restore a previous state. However, something apparantly changed, I cannot do this in the free tier any more 😦 Is it possible to somehow get last weeks database back, without upgrading to premium...? The only reason I need it is because its my personal todo list πŸ˜‚ im the only user of my app and I really want my todos back, I don't wanna do it regularly, just a one time thing, because im stupid and i will go back to a physical todo list once i get my data back πŸ˜›
    j
    • 2
    • 1
  • b

    blurblur

    11/01/2021, 8:26 PM
    Hello guys! I have a problem with my #Supabase account. My database seems to have "Restoring" state since approximately 3 days, and I don't know how it happened. Are you able to help me with that please ? πŸ™‚
  • m

    Mike92988

    11/01/2021, 11:27 PM
    anybody have any recommendations for how to run a webhook when a certain row is changed in the database?
    g
    • 2
    • 4
  • v

    VuNguyen

    11/02/2021, 12:13 AM
    Upsert using Postgresql function
    g
    • 2
    • 5
  • g

    garyaustin

    11/02/2021, 12:46 AM
    Webhook on row change
  • j

    jason-lynx

    11/02/2021, 1:39 AM
    backups
  • u

    user

    11/02/2021, 2:50 AM
    Seconding this
  • d

    dmio

    11/02/2021, 9:59 AM
    guys, can I have my database replicated across the globe? so if I have lambdas in different locations, they will be able to access data quickly?
  • i

    Ilko Kacharov

    11/02/2021, 10:41 AM
    I'm having downtime on the realtime websocket connection on two independent projects hosted in different regions. I see nothing on Supabase Status page yet Anyone experiencing the same?
    s
    • 2
    • 2
  • i

    Ilko Kacharov

    11/02/2021, 10:44 AM
    ah, here it is
  • m

    mrpaulb

    11/02/2021, 11:55 AM
    Just started getting these messages on both localhost and on prod url. Access to XMLHttpRequest at 'https://nfs......supabase.co/auth/v1/token?grant_type=password' from origin 'https://g.....d.vercel.app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. I hadn't pushed any changes to vercel (last 23 hours), so it seems possible something changed at Supabase ?
  • g

    gawlk

    11/02/2021, 1:32 PM
    Hi guys, is there a way to concat in a select ? Like so:
    Copy code
    const { data: parts } = await supabase
          .from('parts')
          .select(
            "CONCAT(root, '-', REPEAT('0', 5 - length(number::TEXT)), number, '-', revision) AS SERIAL"
          )
          .order('serial')
    s
    • 2
    • 2
  • g

    gawlk

    11/02/2021, 1:34 PM
    I checked both supabase's and postgrest's documentation but can't find any mention of concat and nothing in github issues
1...124125126...316Latest