Google Cloud Speech API returned "Quota exceeded" - google-cloud-speech

My desktop Python application transcribes large sets of speech samples (each speech sample duration is between 1 sec and 8 sec long) and for that I am using Google Cloud Speech API. I am aware of all the usage limitations mentioned in this page and certainly within the limits to make sure that I do not violate any of these conditions.
When I started the application for one of my set of speech samples, it was able to transcribe few of them and interrupted in the middle with this error:
googleapiclient.errors.HttpError:
<HttpError 429 when requesting
https://speech.googleapis.com/v1beta1/speech:syncrecognize?alt=json returned
"Quota exceeded.">
I searched on web with this error ID and found this but I could not specifically relate it to the one that I am dealing with. Are there any other limitations with Google Cloud Speech API that I should be aware of?
Any help would be highly appreciated.

I also encounter this problem. Try checking the quotas on your API Manager dashboard > Speech API > Quotas.
I've just found out that for a simple Asynchronous requests, my quota increased by 50 requests.

Related

YouTube Data API v3 Quotas

When trying to upload a YouTube video on our website an error pops up about exceeding our quota. Went on google cloud to see what our quota was and how much we are using. Found our quotas but there is no data showing how much we are using.
Is there a way to trouble shoot and figure out how much we are using to see if we are exceeding our quota?
Go to google cloud console for your project. Under library search for YouTube data api. Then click manage and quotas, to see how much quota you have
You can check the metric page to see an estimate of your quota used.
Is there a way to trouble shoot and figure out how much we are using to see if we are exceeding our quota?
Once you know what your current quota is, its probably only 10k unless you have requested an extension. you need to check
Queries per day which is actually quote points per day for YouTube
Then you can check the YouTube Data API (v3) - Quota Calculator
This page will show you the quota cost for each request.
Video.insert for example costs 1600 quota points, which will very quickly eat though the development quota.
If you are running out of quota the simplest thing to do is to request additional quota YouTube Data API - Quota and Compliance Audits
If your Quota named: Queries per day is 0
From issue tracker #208842985
Hi. If you're seeing Queries per day quota set to 0 and the API is indeed enabled, then this means that your project’s access to YouTube Data API Service has been disabled.
You should’ve received a notice via email regarding this action, which also contains the steps that need to be taken to regain the project’s access. But just in case you missed it, please fill out and submit the exceptions form below:
YouTube API Services - Audit and Quota Extension Form

number of requests supported per second by watson assistance, dialog flow and amazon lex

I have been consulting and I have not been able to find out how many requests per second each one can receive without affecting its operation since in the different web pages of these services they give me data per month.
thanks to whoever can help me....
Here are the details pertaining to AWS Lex's limitations.
When using the PostContent or PostText operations in text mode, the maximum number of concurrent conversations with a bot is 2 for the $LATEST alias and 50 for all other aliases. The quota applies separately for each API.
You can read more about it here: https://docs.aws.amazon.com/lex/latest/dg/gl-limits.html#gl-limits-runtime
The processing time would depend on whether you have Lambda functions attached to your Lex bot and how long they take to execute.

YouTube Data API is counting too many requests

For the last few weeks, the YouTube Data API (v3) is showing a significant increase in requests. In fact, we hit the 50k quota limit every day, which means that requests in the afternoon/evening tend to fail with a quota exceeded error:
However, this usage count is not correct. We use a single API key for making requests to the YouTube API, and the Google Cloud API counter only shows ~2k uses per day for that API key.
All requests to our server endpoint that calls the YouTube API also pass through Cloudflare, which similarly shows <2k requests per day.
We just make a single request to www.googleapis.com/youtube/v3/search?part=snippet&maxResults=1&... – is it possible that these requests count as multiple queries? Or is there any other reason that could explain the incorrect query counts? Thanks!
This is a recurrent issue with the YouTube Data API quota system, that is caused by confusing terms used within Google's cloud console.
You have to acknowledge that YouTube's Data API quota system is not accounting for the number of queries one is making. Instead, the API attaches to each kind of its endpoint a quota cost, and, thus, is accounting for the sum of quota cost of all endpoint calls one is making.
Moreover, inspecting the quota costs page I mentioned above (or the official doc page of the endpoint for that matter), you'll see that the Search.list API endpoint is quite expensive: 100 units of quota cost.
Consequently, to reach a quota cost of 50000 units, your app has to issue only 500 calls to Search.list (this amounts on average to approximately one call at every three minutes per day).

Unable to determine cost of a Quota Units for Youtube Data API

We are developing an application to upload videos from multiple users to a single Youtube channel. But we are unable to find any document for quota units that specifies the cost in dollars. The quota calculator is helpful and provides great insight. But still no mention of exceeding quota cost.
https://developers.google.com/youtube/v3/getting-started#quota
From what I've been able to gather there is no cost to exceeding the quota, however your access to the API will be cut-off when you do so (for that project). There doesn't appear to be anyway to buy more quota units, however you can request more using using the form available on the Quota tab of the Developer Console. Keep in mind that it may take some time (I've heard of months) before you receive a response from the Google team.

Twitter Stream API for Direct Message (DM)

I'm reading DM via Twitter GET API and each time I check for them I consume rate limit, even if I don't retrieve any messages.
I've seen it is possible to read DM through Streaming API and I would like to know if this does not consume rate limit or at least is a separate limit before implementing it, as it will take some time to do it. Also, is it fast getting new DM or it has some kind of delay as it is streaming?
So, in short:
Does Streaming API not consume my GET API rate limit?
Does Streaming API get DM "almost" instantly?
Thank you
Streaming API limits and REST API limits are completely separate entities. Consuming direct messages via a streaming API doesn't consume any REST API rate limits. And the DMs would arrive within a user stream almost instantaneously, provided that the access token used in the user stream connection had the appropriate permission level associated with it.

Resources