Improper documentation -> Error when trying to check if a bucket exists before creating one
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza con la configuración de DI usando Client, SupabaseOptions y las llamadas Storage.GetBucket y Storage.CreateBucket; después, compárala con el ejemplo documentado de InitializeAsync. Verifica si la inicialización o las credenciales explican el error de análisis XML/HTML; se considera terminado cuando la causa y la configuración requerida están documentadas con un ejemplo completo de C# de principio a fin.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bug report
Receiving Unexpected character encountered while parsing value: <. Path '', line 0, position 0 when calling await client.Storage.GetBucket(bucketName); or client.Storage.CreateBucket(bucketName, options);
The BucketUpsertOptions feature the 5mb file limit and the public flag set to true
My client is setup as below:
builder.Services.AddScoped<Client>(_ =>
new Client(builder.Configuration["Supabase:Url"], builder.Configuration["Supabase:AccessKey"],
new SupabaseOptions
{
AutoRefreshToken = true,
AutoConnectRealtime = true,
})
);
AccessKeys were tried, in order, secret keys, public API key (JWT-like from my project) etc. Every. Single. Key. I. Could. Found. Nothing works.
I'm expected to receive an actual error object, from a JSON-based communication system, but it seems I'm hitting some WCF/ASMX type of enpoint that communicates via XML, based on the error.
From my point of view, I'm probably gettings some HTML page prompting me to log in for some reason, maybe I didn't used the proper god-knows-what API key hidden somewhere, after nearly 4 hours of searching through the dashboard.
The available documentation doesn't help either, with examples that don't specify anything else, apart from the actual line on how to get the buckets, create ones etc. There is not a single start-end example, if there are any steps that need to be taken into account.
I saw that in the "classical example" of initializing the client, there is an InitializeAsync call, that is missing in the DI (MAUI like) approach. I feel that there's another step missing from over there and it just kills the functionality to be used from C#, that I had to save files as base64 strings in the database, which is not nice at all.
- OS: Windows
- Version of Supabase: 1.1.1
- Version of Supabase.Storage: tested the transient 2.0.2, then manually installed 2.4.1
- Project Type: DotNet WebApi - net8.0
- Lenguaje dominante
- C#
- Estrellas
- 700
- Forks
- 105
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 41
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de supabase/supabase-csharp
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
supabase/supabase-csharp#450 ·
Los mantenedores suelen responder en 1 día
-
bug(gotrue): FailureReason matches english messages instead of error_codePosiblemente ocupada @Tr00d la tomó hace 26 días. Abierto
supabase/supabase-csharp#409 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
OAuth State Error for social providers since Supabase.Gotrue v6.1.0Quizá libre de nuevo @Tr00d la tomó hace 37 días y no hay ningún pull request abierto. Abiertobug
supabase/supabase-csharp#377 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Postgres Changes filters are validated as anon because SetAuth is applied after channel joinQuizá libre de nuevo @Tr00d la tomó hace 50 días y no hay ningún pull request abierto. Abiertoarea: postgrest bug
supabase/supabase-csharp#345 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
parity(functions): never send new-format API key as Authorization Bearer [from supabase-js]Quizá libre de nuevo @Tr00d la tomó hace 75 días y no hay ningún pull request abierto. Abiertobug parity
supabase/supabase-csharp#279 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de supabase/supabase-csharp
Issues similares
-
bug P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
nightscout/nocturne#1908 ·
Los mantenedores suelen responder en 1 día
-
bug documentation Needs: Triage :mag:
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
WPF: each page's `Title` overwrites the window title, and returning to a page does not restore itAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
agentic-workflows area/Docs partner/agentic-workflows
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jamesmontemagno/tiny-clips#378 · 2 comentarios ·
Los mantenedores suelen responder en 1 día