swipe
swipe10mo ago

I am confused by the info tips for the

I am confused by the info tips for the Supabase Insert Node. It asks for an API Key, URL, and Token, but then in the tooltips seems to indicate that "Service Key" should be input into API key, as well as Token. Is that correct?
3 Replies
Gaurav Chadha
Gaurav Chadha10mo ago
Hi @swipe It is mentioned, you can either use public API Key or Secret Service Key as Token value. The service key should not be an input to the API Key. We'll update the Supabase nodes to make it more clear and precise.
swipe
swipe10mo ago
As far as I know, I have an "anon public" key in supabase. This is what I should put in "API key" in buildship. Now for token, I should either input the same anon public key a second time, OR the "service_role secret" key? I am not familiar with "secret service key", which is not a term that supabase seems to use. Also, I'm getting a strange error from the supabase INSERT node: [ "Error:", { "type": "invalid-json", "message": "invalid json response body at https://yzjsrbraxsjmskncmxsd.supabase.co/rest/v1/message reason: Unexpected end of JSON input" } ] The row inserts just fine
Gaurav Chadha
Gaurav Chadha10mo ago
Thanks for sending the error here, we'll update and fix this soon for Supabase nodes. You can also submit this via in-app support form with a copy of your workflow.