Google Marketplace license api suddenly does not work

强颜欢笑 提交于 2019-12-02 19:43:43

This issue should now be fixed by Google.

If you are still experiencing 403 Forbidden on marketplace API calls make sure you are following these guidelines

Access to these APIs is restricted: only project members of the Developer Console project associated with your application may use the API. Specifically, these project members must be in Can Edit or Is Owner roles. You may also access UserLicense and CustomerLicense as the logged in user to your app. Refer to https://cloud.google.com/compute/docs/access/add-remove-change-permissions-for-team-members to learn how to add members to your project.

For example by doing the API requests using a service account in the Google Cloud Platform Project for you application without using any impersonation/delegation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!