📝 (sheets) Add additional insights to debug sheets not showing
This commit is contained in:
@@ -34,6 +34,8 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
|||||||
try {
|
try {
|
||||||
await sheet.loadHeaderRow()
|
await sheet.loadHeaderRow()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
if (err && typeof err === 'object' && 'message' in err)
|
||||||
|
console.log(err.message)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ With the Google Sheets integration step, you can inject, update or get data from
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
In order to properly work, your spreadsheet must have its first row as a header row. This is how the block knows which column to update:
|
In order to properly work, your spreadsheet must have its first row as a header row. And all header name should be unique. This is how the block knows which column to update:
|
||||||
|
|
||||||
<Frame>
|
<Frame>
|
||||||
<img
|
<img
|
||||||
|
|||||||
Reference in New Issue
Block a user