Realtime issue - "UnprocessableEntity: %{messages: [%{payload: [\"can't be blank\"]}]}"

Hi there,

I am having issues with my Realtime setup. I am wrapping my realtime channel in a client and calling it with a sendMessage function. This system is working fine in some cases but not others.

In the Supabase realtime logs I am getting the error: "UnprocessableEntity: %{messages: [%{payload: ["can't be blank"]}]}"

I am getting the same error locally and in production.

I am calling my realtime client like this:

    const channel = createRealtimeClient({
        channelId: `${organizationId}:realtime`,
        defaultEvent: `validation-progress:updated`,
        token,
      });
      channel.sendMessage({
        payload: { message: "polygon-boundaries" },
      });


Grateful for any help! And really great product, appreciate the work you do 🙏
Was this page helpful?