Youtube Data API v3 response that I've exceeded my quota but in Quota page, it says Queries per day is 0 - google-apis-explorer

I tried to request Search:List and I got 403 error message as I've exceeded my quota below. But in quota's page, limits of "Queries per day" is 0.
{
"error": {
"code": 403,
"message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
"errors": [
{
"message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
"domain": "youtube.quota",
"reason": "quotaExceeded"
}
]
}
}
After few research, I should receive 10K / day.
Please advise.

Related

How can I get my Google Groups via API? I am NOT admin

I want to get all my groups but I am not an admin
I know how to fetch groups if I am admin. But if not - I don't understand. Also I can see its via website
My steps:
I do auth with Google and with scope
[
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/groups",
]
I fetch groups by GET. Url: "https://admin.googleapis.com/admin/directory/v1/groups?domain=konstructly.com"
I get the next problem:
{
"error": {
"code": 403,
"message": "Not Authorized to access this resource/api",
"errors": [
{
"message": "Not Authorized to access this resource/api",
"domain": "global",
"reason": "forbidden"
}
]
}
}
My question
How can I get my Google Groups via Google API?
I tried:
Auth with scope
[
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/groups",
]
GET "https://admin.googleapis.com/admin/directory/v1/groups?domain=konstructly.com"
Expectation:
List of my groups
Actual result:
{
"error": {
"code": 403,
"message": "Not Authorized to access this resource/api",
"errors": [
{
"message": "Not Authorized to access this resource/api",
"domain": "global",
"reason": "forbidden"
}
]
}
}
Instead of using the Google Workspace Admin SDK, use the Groups Service from Google Apps Script, more specifically GroupsApp.getGroups()

Google Maps Geolocation API with a single Cell Tower very often returns "Error 404 geolocation not found"

I'm using Google Geolocation API to convert a single Cell Tower data to location data. The request is made by a Windows service. Typically it's:
{
"considerIp": "false",
"cellTowers":
[
{
"cellId": 60711,
"locationAreaCode": 856,
"mobileCountryCode": 234,
"mobileNetworkCode": 15
}
]
}
Very often (about 80% of my requests) the response is "Error 404 geolocation not found":
{
"error": {
"code": 404,
"message": "Not Found",
"errors": [
{
"message": "Not Found",
"domain": "geolocation",
"reason": "notFound"
}
]
}
}
For this reason I was forced to use a similar service provided by Unwiredlabs, that successfully answer to 95% of my requests.
Is it possible that Google cannot resolve 80% of my requests? I don't think so, but I can't understand where I'm wrong.
For testing purpose cells.csv contains Tower Cells localized by Unwiredlabs, but only ~20% localizied by Google Geolocation API

Google Reports API

I need to create simple Java application for Reports API (https://developers.google.com/admin-sdk/reports/v1/guides/manage-audit-drive)
But I can't understand is this Reports available only for business users or also for all users?
How can I develop applications for G suite without buy it?
For example, I'm sending this request via Postman - https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/drive
Response is
{
"error": {
"errors": [
{
"domain": "global",
"reason": "authError",
"message": "Access denied. You are not authorized to read activity records.",
"locationType": "header",
"location": "Authorization"
}
],
"code": 401,
"message": "Access denied. You are not authorized to read activity records."
}
}
Best regards,
Aleksandr.

Does drive.revisions.list supported for forms?

We have a file which is a form which we can't call revisions.list on. Its hard for us to confirm fully, though looking at our app logs, we have indications that in the past this might have worked and started failing at ~5PM PST on 7/25/2013.
Is the revisions.list API supported for forms?
GET https://www.googleapis.com/drive/v2/files/0Aq0B5MZWpxqydGdfQUVzSzFOQnNWYUtQUG9FMTRyNWc/revisions?key={YOUR_API_KEY}
Authorization: Bearer [DELETED]
X-JavaScript-User-Agent: Google APIs Explorer
400 Bad Request
- Show headers -
{
"error": {
"errors": [
{
"domain": "global",
"reason": "badRequest",
"message": "File does not support revisions"
}
],
"code": 400,
"message": "File does not support revisions"
}
}
This was caused by one of the recent changes we made. We fixed the issue, it's scheduled to be deployed with the next push.

Get file information through api

I'm not able to get information about a file.
Here it is my situation:
I'm logged in google drive
Through google picker I get the file ID
Then I type the url https://www.googleapis.com/drive/v1/files/[file ID]
But I get the following error:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit Exceeded. Please sign up",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit Exceeded. Please sign up"
}
}
How can I sort it out?
You can't retrieve the file metadata by typing the url in your browser.
Instead you need to send an authorized request with a valid OAuth 2.0 token.
For more information:
https://developers.google.com/drive/about_auth