In android deployment from ionic appflow getting below error
Google Api Error: forbidden: The caller does not have permission - The caller does not have permission
I had a very similar issue when deploying to the playstore with fastlane on the command line. I think my solution will work for you too.
Here's my full error message from the command line:
[!] Google Api Error: Invalid request - The caller does not have permission
So what does it mean? Well, since it is a Google API Error we can narrow things down a lot. That means that the error is on the Google Cloud side and that our fastlane installation, our ruby installation, our OS and so on are all probably fine.
Go to the Google Play Console and find the API Access Section under Setup -> API Access in the navigation panel on the left
On the API Access page click the “View Play Console permissions” link. You may have to scroll down a bit. It’s going to be attached to the service account that you made for your app.
Click on the “Account permissions” tab
Click the Admin checkmark in the “App Access” section and this will fix your error.
I have opened a Github Issue here: https://github.com/fastlane/fastlane/issues/20890
To request that this information be added to the documentation. Feel free to checkout that Github issue as well.