Google Play Developer API - “The current user has insufficient permissions to perform the requested operation.”

后端 未结 7 1283
执笔经年
执笔经年 2021-01-01 08:57

I have a Google dev console process with Google Play Developer API is enabled and the project is linked to Google Play project. In Google Dev console project, created OAuth

7条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-01 09:46

    I faced a similar issue, the problem is in the settings we do in google developer project.

    Refer to create-play-service-credentials for settings. Use the same primary account with which you created your in-app products.

    Make sure you remove the previous one.

    Link to a Google Developer Project Your Play Developer account needs to be linked to a Google Developer Project.

    1a. Open the Settings > Developer account menus and select API access

    1b. Select Link to connect your Play account to a Google Developer Project

    1c. Agree to the terms and conditions

    2. Create Service Account Next we need to create a service account. This is done from the Google API Console.

    2a. Select Create Service Account

    2b. Create Service account key credentials

    2c. Enter details for service account

    2d. Download your JSON credential:

    3. Grant Access

    3a. In Play Console, select Grant Access on the newly created service account

    3b. Grant the following permissions:

    After granting access, Google takes 24-48 hours to propagate all access rights for all API's, till that time you'll continue to get the same error.

提交回复
热议问题