Google play developer API - Voided Purchases API response 403 - android-inapp-purchase

I want to ask a question about IAB API - Voided Purchases API https://developers.google.com/android-publisher/api-ref/purchases/voidedpurchases/list
response:
{
"error": {
"code": 403,
"errors": [
{
"domain": "androidpublisher",
"message": "The current user has insufficient permissions to perform the requested operation.",
"reason": "forbidden"
}
],
"message": "The current user has insufficient permissions to perform the requested operation."
}
}
Please get me some suggestion about using this API. Thank you very much.

Maybe it's late but may help someone else
I think you pass the wrong query parameters to API.
a most common mistake is about timestamps for startTime and endTime
as the documents say :
The time, in milliseconds since the Epoch
check that your timestamp is in milliseconds and not seconds

Related

getting Amadeus API Error in WordPress : 403 forbidden, code: 35283

I'm new to Amadeus development. I'm using Amadeus Self service API's to get flights search from searched term. Everything used to work fine, but from today, if i call an api, I'm receiving error 403 forbidden.
{
"errors": [
{
"status": 403,
"code": 35283,
"title": "FORBIDDEN",
"detail": "Incorrect user, no configuration found"
}
] }
I have tried to with different api keys.
Any answers much appreciated.

How to get access to Google Analytics Real Time Reporting API

I filled the Real Time Reporting API Private Beta request access form many days ago but it seems that I can't access the API.
I sent a request to https://www.googleapis.com/analytics/v3/data/realtime but I get the following response:
{
"error": {
"code": 403,
"message": "Requests to this API analytics method analytics.gaapi.v3.AnalyticsDataRealtime.Get are blocked.",
"errors": [
{
"message": "Requests to this API analytics method analytics.gaapi.v3.AnalyticsDataRealtime.Get are blocked.",
"domain": "usageLimits",
"reason": "rateLimitExceeded"
}
],
"status": "PERMISSION_DENIED"
}
}
I know that my access token and credentials are correct because I can get sessions data successfully but I can't use the realtime API. What can I do to be whitelisted by google?
rateLimitExceeded indicates that the project queries per 100 seconds rate limits have been exceeded.
Recommended Action: Retry using exponential back-off. You need to slow down the rate at which you are sending the requests.
Documentation here: https://developers.google.com/analytics/devguides/reporting/core/v3/errors

usage exceeds limit but actually not

REF: Ticket: [#15327597] [Trial] In Trial Customer Inquiry [ ref:_00D00VNwG._500f21CzhlW:ref ]
I checked my quotas and usage in dashboard, but got everything usual.
Error Info:
{"error": {"errors": [{"domain": "usageLimits", "message": "Calendar usage limits exceeded.", "reason": "quotaExceeded"}], "code": 403, "message": "Calendar usage limits exceeded."}}
I wait 48 hrs till now, but I still can't add events to my calendar using this API. I tried to revoke access and regain but useless.
I think it may caused by an improper code which created 32 secondary calendars in a short period of time. But now it is corrected. I wonder what I can do to release that limit?
PS. I tried to contact Google but got no response, they ask me to ask a question here.
Delete my old OAuth API key and recreate new one to solve this problem.

google translate api v2 response with code 403 and reason 'dailyLimitExceeded'

I have billing account 'Z' connected with project 'X' and google translate api enabled for this project.
Trying to perform GET request
https://www.googleapis.com/language/translate/v2?key={my_key}&q=hello&source=en&target=ru
got output:
{
"error": {
"code": 403,
"message": "Daily Limit Exceeded",
"errors": [
{
"message": "Daily Limit Exceeded",
"domain": "usageLimits",
"reason": "dailyLimitExceeded"
}
]
}
tried to generate another api key, all in vein, api key has no restrictions.
This is a known issue that should have been Fixed as of now, please try again to see if you're still seeing this issue and re-open the Issue #70990743 if necessary.

Rest API request for Google Translation API

I have a problem with Rest API request for Google Translation API
My POST method is https://translation.googleapis.com/language/translate/v2?key=MY_KEY
But I get an error
{
"error": {
"code": 400,
"message": "API Key not found. Please pass a valid API key.",
"errors": [
{
"message": "API Key not found. Please pass a valid API key.",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT"
}
}
Please help me to understand where the problem comes from.
You might want to try starting with one of the samples as opposed to trying to build your own client library or get/POST with REST. If you must use REST, the following example may be helpful:
https://translation.googleapis.com/language/translate/v2?key=your-key-here&q=cheese&target=es
Replace the API key with the one that you have enabled access to the translate API on.

Resources