Relative Content

Tag Archive for pythongoogle-cloud-functions

Google Play Developer API returns 401 Error: Request is missing required authentication credential

I have a cloud function (environment: gen2) for verifying google play subscription purchases. I use two service accounts: Account 1 for building and deploying functions, and account 2 for interacting with the Google Play Developer API.
Account 1 permissions: Artifact Registry Create-on-Push Writer, Cloud Build Service Account, Editor, Logs Writer, Storage Object Admin.
Account 2 permissions: Cloud Functions Invoker, Cloud Run Invoker, Editor.

Google Play Developer API returns 401 Error: Request is missing required authentication credential

I have a cloud function (environment: gen2) for verifying google play subscription purchases. I use two service accounts: Account 1 for building and deploying functions, and account 2 for interacting with the Google Play Developer API.
Account 1 permissions: Artifact Registry Create-on-Push Writer, Cloud Build Service Account, Editor, Logs Writer, Storage Object Admin.
Account 2 permissions: Cloud Functions Invoker, Cloud Run Invoker, Editor.