Vocab-Apps / mandarin-cantonese-api

API for processing Mandarin and Cantonese
GNU General Public License v3.0
10 stars 0 forks source link

#ERROR! Service invoked too many times for one day #2

Closed ryguy36 closed 4 years ago

ryguy36 commented 4 years ago

Exception: Service invoked too many times for one day: urlfetch. (line 67). On some days, I get the attached error on all of the cells using this function. Refreshing the page doesn't help. Today it happened after opening my sheet just once.

Love this tool, by the way, makes my language learning so much easier.

image

luc-vocab commented 4 years ago

Google places a limit on how many times an add-on makes queries to an external service. The workaround is to use Batch Mode, such that your entire column of chinese characters are converted in one go. It's described here: https://medium.com/@lucw/converting-chinese-characters-to-pinyin-jyutping-on-google-sheets-now-with-more-functionality-5047692950bf let me know if you run into any issues.

Please change your spreadsheets to use batch mode (you should only have a single cell which has the PINYIN function). You may need to wait 24hrs for the quota to reset. This is a google limitation and there's not much I can do about it.

Additional question: how many spreadsheets do you have which call the PINYIN function ?

ryguy36 commented 4 years ago

Thanks for the quick response. I'm using about 10 sheets with PINYIN function, so a few hundred individual calls of PINYIN. I'm trying batch mode now and will need to wait for tomorrow. I'll let you know if there are more issues.

luc-vocab commented 4 years ago

OK. If you find tomorrow that this solves the issue in a satisfactory way, please leave a positive review on the add-on.

ryguy36 commented 4 years ago

That seems to be a good alternative. Closing case.

luc-vocab commented 2 years ago

@ryguy36 i'm working on a new project which completely removes this google limitation. The best way to describe it is a spreadsheet specialized for language learning. If you'd like to try it, please email me languagetools@mailc.net