The request is missing a valid API key

I’m running this tutorial:
How to read from and write into Google Sheets from your robots (

but I got this error:

if I follow the error link got this:
“error”: {
“code”: 403,
“message”: “The request is missing a valid API key.”,

Please, could anyone help me to understand what’s wrong? I follow every step of the tutorial, create the user account in Google cloud, Create the key, but got the same error.


This is my code by the way:

Try adding file extension to service account file
Suite Setup Init Sheets service_account.json

1 Like

That worked. Thanks!