Giter Site home page Giter Site logo

Comments (7)

dshukertjr avatar dshukertjr commented on June 9, 2024

@TheCarpetMerchant

The error occurs whether the Android OAuth client id is provided or not.

This makes me think that the wrong client IDs might be pasted on the wrong place, because there is no where to paste the Android client IDs. Please read the docs again, make sure you have followed the steps the exact same way, and if you are not able to solve it then, then please respond to the following questions providing as much details as possible.

  • What platform does it occur on? Android? iOS?
  • What Client IDs did you create on the GCP console, and where did you copy and paste each of them within the Supabase dashboard?

from supabase-flutter.

TheCarpetMerchant avatar TheCarpetMerchant commented on June 9, 2024

Hello,

I only tried to add the Android client ID after I got the error when using only the web client ID. Same thing with the Client Secret and Client ID fields in the supabase UI, I added them after using only the web client ID proved unsuccessful.

I followed the steps outlined at https://youtu.be/utMg6fVmX0U, section without Firebase, to create the client ids. I pasted them as shown in the screenshot and code.

The actual problem here is that Supabase goves absolutely no information on what went wrong.

from supabase-flutter.

dshukertjr avatar dshukertjr commented on June 9, 2024

@TheCarpetMerchant
Well, we cannot tell what client ID is pasted where from the screenshot, so I asked the question here. We kindly ask you to corporate and respond to the questions if you would like assistance.

from supabase-flutter.

TheCarpetMerchant avatar TheCarpetMerchant commented on June 9, 2024

Yes, I did paste the correct ID. Worth noting is that upon coming back to the Providers page, Supabase has moved the pasted wbneb client id to the Client ID field.

from supabase-flutter.

dshukertjr avatar dshukertjr commented on June 9, 2024

@TheCarpetMerchant The authorized client ID moving up to the Client ID field is not an issue. They are the same thing as far as the backend is concerned.

The important question is, when you got the error, what Client ID did you have on what field? Also, could you confirm that you are testing this on an Android device/ emulator.

from supabase-flutter.

TheCarpetMerchant avatar TheCarpetMerchant commented on June 9, 2024

I am using the web client id, as shown in my code snipet above. I am using an Android API 33 Google Play 64 bits emulator.

Edit : Additionally, what can I do to know what's the actual error ? "Internal error" is not worth anything as an error message.

from supabase-flutter.

TheCarpetMerchant avatar TheCarpetMerchant commented on June 9, 2024

I just tried creating a new user by email/password with the signUp function, and got this error :
{\"code\":500,\"error_code\":\"unexpected_failure\",\"msg\":\"Database error saving new user\",\"error_id\":\"87c17ea583ff2e2c-BRU\"}
Now this is already a way more informative message, if still of quite poor quality. I thought that maybe the whole user creation was done in a transaction, which made sense, and that the trigger I had made to automatically create a row in my own users table could create an error (despite it being extremely simple). I dropped it, and now I'm getting a 429 error. The logs do not give anymore info (and by the way, they're basically unreadable on Firefox).

Overall, I have to say this is an extremely poor experience. If I was looking for a backend for an Entreprise project, Supabase would have been dropped if only due to the very poor logs and errors.

from supabase-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.