The following error occurs as I try to access purchases/subscription endpoints of Google Play:
{
"error": {
"code": 401,
"message": "The current user has insufficient permissions to perform the requested operation.",
"errors": [
{
"message": "The current user has insufficient permissions to perform the requested operation.",
"domain": "androidpublisher",
"reason": "permissionDenied"
}
]
}
}
The following configurations are already done :
- Service account with permissions are created
- Service account email address added in license tester section in playstore
- Enabled google play apis in Google Play Console