"Bing Error - Out of call volume quota" on first use - microsoft-cognitive

I am trying to use Blockspring in Excel (and Google Sheets) to access Bing Web Search to return URLs based upon a list of company names (method is described here: https://www.youtube.com/watch?v=35U-FKAlaPY). I am receiving this: "#ERROR! Bing Error - Out of call volume quota. Quota will be replenished in 15.01:52:46", even though my Microsoft Cognitive Services account shows zero of 1,000 calls used before 1/7/17. Note that this is a free trial subscription (if that matters). Any ideas would be appreciated.

Related

How many clients are connected to my firestore?

I am working on a flutter app that fetches 341 documents from the firestore, after 2 days of analysis I found out that my read requests are increasing too much. So I made a chart on the stackdriver metrics explorer from which I get to know that my app is just reading 341 docs a single time, it's the firebase console which is increasing my reads.
Now, comes to what are the questions that are bothering me,
1)How reads are considered when we see data on the console and how can I reduce my read requests? Basically there are 341 docs but it is showing more than 600 reads whenever I refresh my console.
2)As you can see in the picture there are two types of document reads 'LOOKUP' and 'QUERY', what's the exact difference between them?
3)I am getting data from the firestore with a single instance and when I open my app the chart shows 1 active client which is cool but in the next 5 minutes, the number of active clients starts to increase.
Can anybody please explain to me why this is happening?
For the last question, I tried to disable all the service accounts and then again opened my app but got the same thing again.
Firestore.instance.collection("Lectures").snapshots(includeMetadataChanges: true).listen((d){
print(d.metadata.isFromCache);//prints false everytime
print(d.documents.length);// 341
print(d.documentChanges.length);//341
});
This is the snippet I am using. When the app starts it runs only once.
I will try to answer your questions:
How reads are considered when we see data on the console and how can I
reduce my read requests? Basically there are 341 docs but it is
showing more than 600 reads whenever I refresh my console.
Reads are considered depending on your how you query your Firestore database in addition to your access to this database from the console so using of the Firebase console will incur reads and even if you leave the console open to do other stuff, when new changes to database occured these changes will incur reads also, automatically.and any document read from the server is going to be billed. It doesn't matter where the read came from. The console should be included in that.
Check this official documentation under the "Manage data" title you can see there is a note : "Note: Read, write, and delete operations performed in the console count towards your Cloud Firestore usage."
Saying that if you think there is an issue with this, you can contact Firebase support directly to have more detailed answers.
However, If you check the free plan of Firebase you can see that you have 50K free reads per day.
A workaround that I found for this (thanks to Dependar Sethi)
Bookmarking the Usage tab of the Firestore page. (So you basically
'Skip' the Data Tab)
Adding a dummy collection in a certain way that ensures it is the
first collection(alphabetically) which gets loaded by default on
the Firestore page.
you can find his full solution here.
Also, you can optimise your queries however you want to retreive only the data that you want using where() method and pagination with Firebase
As you can see in the picture there are two types of document reads
'LOOKUP' and 'QUERY', what's the exact difference between them?
I guess there are no important difference between them but "QUERY" is getting the actual data(when you call data() method) while "LOOKUP" is getting a reference of these data(without calling data() method).
I am getting data from the firestore with a single instance and when I
open my app the chart shows 1 active client which is cool but in the
next 5 minutes, the number of active clients starts to increase.
For this question, considering the metrics that you are choosing in Stackdriver I can see 3 connected clients. and as per the decription of "connected client" metric:
The number of active connections. Each mobile client will have one connection. Each listener in admin SDK will be one connection. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
So please check: how many mobiles are connected to this instance and how many listeners do you have in your app. The sum of all of them is the actual number of connected clients that you are seeing in Stackdriver.

Query limits for day reached

I have been testing an application I am developing using the webapi, and I have started to get the following error message:
GCSP: Hello error: [1010] The Gracenote ODP 15822 [Name: *registered-name*]
[App: *registered-app*] application has reached is daily lookup limit with
Gracenote. You may try again tomorrow or may contact Gracenote support at
support#gracenote.com.
[Gracenote Error: <ERR>]
The application I am developing is looking up track details and cover artwork for songs being streamed from Mood/Pandora for Business service. It is making approximately one call for each song, so something like 15 searches per hour on average. I may have done more during testing, but not a lot more.
Once completed, I would expect this service to make fewer than 500 searches per day per location, and for it initially to be used at 4 locations.
What are the lookup limits I am running into?
What are my options to get a higher lookup limit?
Thanks

Google Speech API request exceeds limit R

I am receiving the following error when I am using the speech API. I am looking to have the same return as if a file would be under that limit. Thanks in advance.
asynch <- gl_speech(MonoPath,
asynch = TRUE)
gl_speech_op(asynch)
Error: API returned: Request payload size exceeds the limit: 10485760 bytes.
I just ran into this same issue and it appears it is because I have the API set on the free trial even though I have a CC connected to it.
https://cloud.google.com/speech-to-text/quotas
by updating your account to a paid account you can increase your quotas.
I have yet to get approval to go paid from my finance department so I can't guarantee this will solve your issue at this time.
I finally found the trial setting you mentioned. You have to look at quotas for project and there will be a blue button indicating "Upgrade Account".
I did the upgrade but no change still getting the error
Request payload size exceeds the limit: 10485760 bytes.
Using the Cloud SDK for Speech recognition and sending the request via the command line for a long running recognize command. No syntax errors other than a change to the example they gave was needed
Example, had to remove the single quotes around the file name and don't have spaces in your filename
gcloud ml speech recognize-long-running \
'gs://cloud-samples-tests/speech/brooklyn.flac' \
--language-code='en-US' --async
I seemed to be logged in properly, is it possible it is not recognizing my credentials properly and defaulting to trial type of request?

Limit on number of Paypal Billing Agreements

I am implementing Paypal express checkout (using paypal rest sdk for php )in one of my projects for recurring billing (for subscription), every thing is working fine for the initial requests (about 10 checkouts) after that I start to get Error 400 for few days and then everything starts working again.
I just wanted to confirm if there is any sort of limit on creating billing agreement in sandbox environment?
Thanks in advance
Finally found the solution, the reason I was getting error 400 after some times was because I was setting a static time while creating billing agreement.
$agreement = new Agreement();
$agreement->setName('My Billing Agreement')
->setDescription('Subscription to My Billing Agreement')
->setStartDate(date('Y-m-d').'T9:45:04Z');
The reason this snippet was resulting in error is because the start date/time of the billing agreement can only be a future time.
All I needed to do was replace
setStartDate(date('Y-m-d').'T9:45:04Z')
with
setStartDate(date("c", time() + 1800))
and everything started working as expected. Hope this helps some one.

Google translate: Quota Exceeded

I am trying to use Google Translate REST API and while requesting the following url:
http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=test&langpair=en|hi&key=mykey
I am getting the following response:
Response: {"responseData": null, "responseDetails": "Quota Exceeded.
Please see
http://code.google.com/apis/language/translate/overview.html",
"responseStatus": 403}
I am getting this message today only. I have tried using the service after one or two months. Previously it was working perfectly. Has Google stopped the Google translate free service or what?
You exceeded your quota. Google started to limit the number of API usages a few months back due to the large number of users using the tool excessively.
EDIT: Read the notice on the top of this page: http://code.google.com/apis/language/translate/v2/getting_started.html
Google has moved to a Paid model. We moved to the free Bing Translation API, its very similar, it seems to be better at translating and still free:
http://www.microsoft.com/web/post/using-the-free-bing-translation-apis
Example of how to use it:
http://basharkokash.com/post/2010/04/19/Bing-Translator-for-developers.aspx
Well, I think the error message explains itself - there seems to be some daily quota on the use of their API, and you have exceeded it.
But yes, Google is discontinuing the free version of their Translate API, and you will have to pay to continue to use it after December 1 2011.

Resources