Troubleshooting

Permission Denied

Make sure that the service account you created has the necessary permissions on the producer project. At a minimum, the service account requires the API Keys Admin role to call all of the methods in the API Keys API.

Request had invalid authentication credentials

The following error occurs when the access token for your oauth session has expired:

Request had invalid authentication credentials

To resolve the issue, run the following command:

oauth2l reset