Issues with OAuth / Heroku

I am trying n8n for the first time and running in to some issues. I deployed it to heroku (1 click!) which is awesome but I am a bit lost.

I added credentials and added a new environment variable:

WEBHOOK_TUNNEL_URL=https://myapp.herokuapp.com/

My callback URL is https://myapp.herokuapp.com/rest/oauth2-credential/callback

The app still returns this error:

Error: OAuth credentials not connected!
    at Object.requestOAuth2 (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:57:15)
    at Object.requestOAuth2 (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js:411:42)
    at Object.googleApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GenericFunctions.js:35:53)
    at GoogleSheet.getData (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheet.js:33:68)
    at GoogleSheet.convertStructuredDataToArray (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheet.js:227:42)
    at GoogleSheet.appendSheetData (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheet.js:105:33)
    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/Sheet/GoogleSheets.node.js:769:42)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:492:37)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:395:62
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Does anyone have any pointers?

Thanks!

Hey @DrNinjamonkey!

Are you getting this error when you try to use OAuth credentials for the Google Sheets node? Can you check your OAuth Credentials? On copying-pasting the credentials from Google Cloud Platform, sometimes I copy an extra white space, which gives me an error.