The workflow takes invoices from google drive and uses Gemini API to extract data, then save to google spreadsheet. everything works except the last step - save extracted data to a google online spreadsheet. I’ve checked my Google developer consult where both google drive and spreadsheet API is enabled.
What is the error message (if any)?
Error code
403
Full message
{ "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED" } }
Problem in node ‘Add to Google Sheets‘
Forbidden - perhaps check your credentials?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
the workflow starts with API integration with Google Drive (Google Cloud Credential]; then go through a few steps including OCR with Gemini API, with extracted data from OCR, there are steps to transform data into columns for spreadsheet.
Every step along the way works until save to Spreadsheet. I just checked google sheet and google drive API are both enabled. The columns are also matched.
I also set matching column mode as automatic.
Is this node supposed to use the same API credential as first step where Google drive is integrated?