Troubleshooting
Common errors and how to resolve them.
Authentication Errors
"No credentials provided"
PlayStoreClientError: No credentials provided. Set GOOGLE_APPLICATION_CREDENTIALS
environment variable or pass credentials_path.
Fix
Set the environment variable pointing to your service account JSON key:
Make sure this is set in your MCP client configuration's env block as well.
"Credentials file not found"
"The caller does not have permission"
Fix
- Go to Play Console → Users and permissions
- Find the service account email
- Grant the required permissions (see Getting Started)
API Errors
"Package name not found"
The app doesn't exist in Play Console, or the service account doesn't have access to it.
Fix
- Verify the package name is correct (use
validate_package_nameto check format) - Ensure the app exists in Play Console
- Confirm the service account has access to the app
"File not found"
Fix
Provide the absolute path to the APK or AAB file. Relative paths may not resolve correctly in the MCP server context.
Rate Limiting (HTTP 429)
The server automatically retries with exponential backoff on rate limit errors. If you're hitting limits frequently:
- Space out batch operations
- Reduce
max_resultson list operations - The server retries up to 3 times with increasing delays
Server Errors (HTTP 500/503)
Transient Google API errors. The server retries automatically. If persistent:
- Check Google Cloud Status for outages
- Try again after a few minutes
Additional Tools
get_order
Get detailed order/transaction information.
| Parameter | Type | Required | Description |
|---|---|---|---|
package_name |
string | Yes | App package name |
order_id |
string | Yes | Order ID to retrieve |
Returns: order_id, product_id, purchase_time, purchase_state, purchase_token, quantity
get_expansion_file
Get APK expansion file information. Used for large apps (especially games) exceeding the 100MB APK limit.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
package_name |
string | Yes | — | App package name |
version_code |
int | Yes | — | APK version code |
expansion_file_type |
string | No | main |
main or patch |
Returns: version_code, expansion_file_type, file_size, references_version
Debug Logging
Enable debug logging for more detailed output:
Logs are written to stderr and include structured information about API calls, retries, and errors.
Getting Help
- Open a bug report
- Request a feature
- Security issues — report privately