Jrocks
Jrocks5mo ago

Issue with "Update Output Schema" Functionality in Supabase "Get Row with Token" Node

I am using the Supabase "Get Row with Token" node. I have been testing the node and attempted to use the "Update Output Schema" feature, but it is not working. I have tried it multiple times, but the key fields in the "Output" of the node are not getting updated.
No description
No description
Solution:
freeCodeCamp.org
How to Access Properties from an Array of Objects in JavaScript
When you're working with JavaScript applications, it's common to work with arrays, nested arrays, and an array of objects. But a lot of beginners sometimes struggle with knowing how to access properties from these different data structures. In this article, we will discuss how to access properties from a variety
Jump to solution
8 Replies
AI Support
AI Support5mo ago
Hi @user, It seems like you're experiencing an issue with the "Update Output Schema" feature in the Supabase "Get Row with Token" node. To resolve this, you can try deleting the node and then adding it back to your workflow. This often fixes issues related to schema updates. If the issue persists, please submit a support request via the in-app support button for further assistance. For more information on working with Supabase nodes, you can refer to the BuildShip documentation: Supabase Nodes Documentation. Best regards, BuildShip Support
Jrocks
JrocksOP5mo ago
To follow up on this, I checked the "code" view, and it seems that it was able to capture all the output JSON from the "update output schema" function. However, it appears that this information is not displaying in the main view.
No description
AI Support
AI Support5mo ago
It sounds like you're facing an issue where the output JSON from the "update output schema" function is not displaying in the main view, even though it is captured in the "code" view. This could be due to a mismatch or error in the output schema configuration. To address this issue, please ensure that your output schema is correctly defined in the Node Editor. You can refer to the documentation on how to configure input and output parameters for nodes: - Input Parameters - Node Logic If the problem persists, please submit your issue via the in-app support button for further assistance.
Node Inputs – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Script Node – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Gaurav Chadha
Gaurav Chadha5mo ago
Hi @Jrocks, currently only object type fields gets populated, not array. You'll require to reference it via dot operator.
AI Support
AI Support5mo ago
Hi @Jrocks, To address your issue, please note that currently only object type fields get populated automatically. If you need to reference array fields, you'll have to use the dot operator to access the specific elements within the array. For more detailed information, please refer to the relevant documentation page: BuildShip Documentation. If you need further assistance, please submit your query via the in-app support button.
Jrocks
JrocksOP5mo ago
I'm not sure what you mean by the dot operator. For example, this is the output from my Supabase Get row node: [ { "access_token": "eyJhbGciOiJSUzI1NiIsI...", "token_type": "Bearer", "expires_in":12345, "refresh_token": "eyJhbGciOiJSUzI1NiIsIn...", } ] In my next node, how can I take the string value of the "access_token" and use it as input in my field expression?
AI Support
AI Support5mo ago
To use the string value of the "access_token" from the output of your Supabase Get row node as input in your next node, you can use the dot operator to access the specific field from the JSON object. In your case, you would access the "access_token" field like this:
{{ $json[0].access_token }}
{{ $json[0].access_token }}
This expression will extract the value of "access_token" from the first object in the array returned by your Supabase Get row node. For more detailed information on using Supabase with BuildShip, you can refer to the documentation here.
Solution
Gaurav Chadha
Gaurav Chadha5mo ago
freeCodeCamp.org
How to Access Properties from an Array of Objects in JavaScript
When you're working with JavaScript applications, it's common to work with arrays, nested arrays, and an array of objects. But a lot of beginners sometimes struggle with knowing how to access properties from these different data structures. In this article, we will discuss how to access properties from a variety