"PERMISSION_DENIED" en la hoja de cálculo de Google REST API v4
Intento leer datos de la hoja de google a través de http. Yo uso v4 hoja de cálculo de google api:
https://sheets.googleapis.com/v4/spreadsheets/1MZJEOzkzy5iJ9HPy2GU-Ky3vdaIzGGDQH8BMt4n3OGI/values/Sheet1!A1:D5
Yo obtengo:
{
"error": {
"code": 403,
"message": "The request cannot be identified with a client project. Please pass a valid API key with the request.",
"status": "PERMISSION_DENIED"
}
}
La hoja se publica en línea y todos pueden editarla. Funciona en api v3 también.