I have a wordpress pluging to booking class on my gym. This wordpress plugin works with Google calendar API and since yesterday I get the same error.
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
}
Would be possible upgrade this limit? I don't care if I have to paid but need some solution. I have more or less 100 users.
In order to authenticate yourself when using the Google Calendar API, which will allow you considerably larger quotas, you must include an API key in your request's URL. That can be done by simply appending the following query string to it: key=API_key
Where API_key is the key obtained for that project.
In order to obtain an API key you can follow the steps below:
Go to the API Console.
From the projects list, select a project or create a new one.
If the APIs & services page isn't already open, open the left side menu and select APIs & services.
On the left, choose Credentials.
Click Create credentials and then select API key.
Reference
Setting up API keys
Related
I am trying to build an application that will sync a in house calendar solution with the user's google calendar. It all works to retrieve events from the user's local calendar, but the shared calendar we use for things like vacation does not work. I use the Calendar List call to get all the calendars the user can access ( which will return the Id of the vacation calendar ) but whenever I try and use the list event call on the vacation calendar Id I get 404 error. I've double and triple checked that the Id is correct and the URL is formatted correctly, but the events never load.
I have noticed that the Oauth for my app states that it is allowing access to "Calendars that you own". I am thinking that it may be a permission issue since the user I'm testing with does not own the vacations calendar. I've tried adding every single scope I can find to the permissions for the app but it still gives me a 404 when trying to get the events from the calendar.
Does anyone have any scopes that I need to add to get this to work? Any suggestions on anything else to try?
Tried adding every scope to the Oauth app. Did not work, still says "Calendars that you own" on the Oauth screen.
I believe it's an Oauth scope permission issue because when I use "Try it" ( https://developers.google.com/calendar/api/v3/reference/events/list?apix=true#try-it ) I can successfully retrieve the events with the calendar Id. Also the Oauth screen for the "Try It" does not have the "Calendars that you own" stipulation
This is the error I recieve:
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}
I am not able to create text Analytics resource in West US 2 region , due to following error
I have selected all default values ( for ex : I have selected storage type as V1 )
In Text Analytics , I want to analyze PDF , WORD , EXCEL docs to extract phrases , hence selected storage ( and not Cognitive Search )
{
"code": "InvalidTemplateDeployment",
"details": [
{
"code": "BringOwnFeatureNotEnabled",
"message": "Bring your own feature is not enabled for Subscription/SKU/Kind."
}
],
"message": "The template deployment 'TextAnalyticsCreate_Dx-20220130011000' is not valid according to the validation procedure. The tracking id is 'd62cf124-f927-4b00-b6b6-0f16ae94eadf'. See inner errors for details."
}
It seems like you are trying to use customer managed key in your Azure Cognitive Service deployment. This can't be done directly.
You need to first raise a request by using below link:
Cognitive Services & Applied AI Customer Managed Keys and Bring Your Own Storage access request
It takes 4-5 business days to get approved. Once approved, the feature responsible for the customer managed key will be enabled on the subscription. You won't get the above error after approval.
Trying to GET or POST Teams tabs.
I get the same error when trying to delete Planner plans.
ALL of these operations works with the EXACT same URI in Graph Explorer.
As you can see below getting Teams Tab works in one tenant (where I have no particular admin roles)
In the tenant where it is not working I am Global Admin and owner of the teams & planners in questions.
I have contacted MS support but don't have high expectations they will find a solution.
So:
Working with Graph Explorer
Working in one tenant but not another
Working with the premium HTTP connector.
What could this be about. I have matched the licenses between the two different tenants.
Any permissions deep in Azure missing? I am out of ideas, and this is quite important as I am building a project where they expect be to automate Tab creation and Planner removal.
My query:
Error (To the left is one tenant, to the rioght another where it is working.:
Full error:
{
"error": {
"code": "NotFound",
"message": "Not Found",
"innerError": {
"date": "2021-10-14T19:54:08",
"request-id": "xxx",
"client-request-id": "xxx"
}
}
}
Using Power Automate, tried to get list of tabs in Teams Channel using HTTP connector (Instead of using O365 HTTP connector as its giving "NotFound" error) and got success code 200.Got success code using Graph Explorer and Postman as well
Used the tenant where I am Global Admin and owner of the teams.
Steps followed:
Result:
I'm not a developer and I'm way out of my depths here but I'm hoping I can find some help here. I've been using Calendly to sync to my Google calendar. It no longer syncs and gives this error:
125 TID-ec5p Calendar::PushJob JID-61bdee4b8fb5024dcab6c443 ERROR: [CalendarHub::Runner::SingleService] context={:user_id=>6154125, :calendar_kind=>"google", :calendar_account_id=>6860855, :calendar_name=>"Google Calendar", :action_name=>:create_event} exception=#"info#leecrockett.com", :calendar_kind=>"google", :calendar_account_id=>6860855, :calendar_version=>nil, :calendar_name=>"Google Calendar", :action_name=>:create_event, :response_status=>403, :response_body=>"{ "error": { "errors": [ { "domain": "usageLimits", "reason": "quotaExceeded", "message": "Calendar usage limits exceeded." } ], "code": 403, "message": "Calendar usage limits exceeded." } } "}
Calendly directed me to Google and Google support says they don't do anything with APIs and directed me here. Is there a way to fix this? I'm missing appointments because they are no longer syncing and need to get this resolved.
Unfortunately there's not a lot you (or Calendly) can do here except creating fewer events and/or inviting fewer people.
Google has a page listing their error codes, which defines this one as abuse protection.
From Handle API Errors:
The user reached one of the Google Calendar limits in place to protect Google users and infrastructure from abusive behavior.
See Avoid Calendar use limits for more details on what the actual limits are.
Calendar usage limits exceeded.
Ever application created to use Googles apis has a limit placed on it as to how many requests it can make over a period of time. This is called quota. Your application has reached the limit of the number of requests it can make. You need to wait until tomorrow and try again this time make fewer requests.
I am following the following Google Cloud Vision quickstart:
https://cloud.google.com/vision/docs/quickstart
This is using the API Explorer, and I get
Error Opening File
I have created a bucket named vision2018, and checked Share Publicly for the file.
My portion of the request related to the file is:
"image":
{
"source":
{
"imageUri":"gs://vision2018/demo-image.jpg"
}
}
The response I get is:
{
"responses": [
{
"error": {
"code": 5,
"message": "Error opening file: gs://vision2018/demo-image.jpg\"."
}
}
]
}
}
What do I need to specify in order to access files in my GCP storage?
Alternatively, I read other Stack Overflows that talk about GOOGLE_APPLICATION_CREDENTIALS, Simple API Key, and "Create Service account key and download the key in JSON format", ... but these seem to be giving commands in the shell, which this quickstart doesn't even open.
Is there initial setup assumed prior to the quickstart?
I am not ready to call the api from code
You might want to doublecheck your request. I went to the quickstart, replaced the placeholder imageUri with gs://vision2018/demo-image.jpg and it worked just fine. The error message you posted is what would be displayed if you had given gs://vision2018/demo-image.jpg\" instead.
Regarding the second part of your question: these are authentication methods. In this particular case, under Authentication you will find a drop down which lets you chose between API key and Google OAuth 2.0. If you chose the former, you don't need to do anything as a demo key will be used just for the purposes of the quickstart. If you chose OAuth 2.0, a popup will appear prompting you to authenticate with a google account. All in all, what you need to do is follow step-by-step the instructions given by the quickstart.
I was receiving a similar JSON response from the Google Vision API:
"error": {
"code": 7,
"message": "Error opening file: gs://bucket/file.jpg."
}
The fix was to set the GCS file's permission to public-read:
gsutil acl set public-read gs://bucket/file.jpg
Finally I investigated what happened. The problem is that your API token is only grant for process the image (allow right to use OCR engine), but that API is not also for accessing object in GS.
Therefore "message": "Error opening file:
The problem is similar with this post:Authorize Google Cloud Vision API to Google Storage image Maybe the error message is a bit dumb than many years ago.
The solution also mentioned in the answer section, but if you want some thing more clear (expose security side-effect) here it is: Set GCS read-only public
Reason I want to keep using API because it's better for use it in mobile application, we cannot give the OAuth2.0 to any phone. However, still find a way to secure the read-public bucket.