realtime empty payload.new - error 401: Unauthorized
I have supabase "realtime" setup for one of my tables "ReportIdeally" and I am receiving a payload when a change happens but payload.new (and payload.old) is always empty. See below example
I am listening to Realtime via the following:
And of course I have the relevant table enabled. I don't have RLS enabled yet so I am stumped to why this still doesn't return a payload with the updated item?
Is it to do with an authentication issue? Do I need to add an Auth bearer in the header even though I have no authentication setup yet?
My Supabase init is as follows:
The resulting payload object is as follows:
I am listening to Realtime via the following:
And of course I have the relevant table enabled. I don't have RLS enabled yet so I am stumped to why this still doesn't return a payload with the updated item?
Is it to do with an authentication issue? Do I need to add an Auth bearer in the header even though I have no authentication setup yet?
My Supabase init is as follows:
The resulting payload object is as follows: