Skip to content
Discussion options

You must be logged in to vote

I ran into the same problem in my project too and found that in the supabase.ts file there was a global header set up as below

export const supabase = createClient(supabaseUrl, supabaseAnonKey, { auth: { persistSession: true, autoRefreshToken: true, }, global: { headers: { 'Content-Type': 'application/json', }, },

which was causing this issue. Try to find that if you some similar place where you can find this kind of configuration and just remove it.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@kunalkhin
Comment options

Comment options

You must be logged in to vote
1 reply
@diabmoh
Comment options

Answer selected by Ncin323
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants